E - the element typeM - the matcher typepublic class IncludeExclude<E,M extends java.util.function.Predicate<E>>
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
IncludeExclude() |
| Modifier and Type | Method and Description |
|---|---|
void |
addExclude(M predicate) |
void |
addInclude(M predicate) |
boolean |
isEmpty() |
boolean |
isExcluded(E object) |
boolean |
isIncluded(E object) |