public interface Filter<T>
Modifier and Type | Method and Description |
---|---|
boolean |
accept(T element) |
boolean accept(T element)
element
- the element to be testedtrue
if the element should be included and false
if the element should excluded.Copyright © 2020. All rights reserved.