public interface Filter<T>
Modifier and Type | Method and Description |
---|---|
default <K extends java.util.Collection<T>> |
applyFilter(K others) |
default <K extends java.util.Collection<T>> |
applyFilterToImmutable(K collection) |
default <K extends java.util.Collection<T>> |
countIntersection(K collection) |
default Filter<T> |
difference(java.util.Collection<T> collection) |
default Filter<T> |
difference(Filter<T> other) |
default Filter<T> |
intersection(java.util.Collection<T> collection) |
default Filter<T> |
intersection(Filter<T> other) |
default Filter<T> |
invert() |
boolean |
isIncluded(T i) |
default boolean |
isNotIncluded(T i) |
default long |
numberOfIncluded(java.util.Collection<T> collection) |
boolean isIncluded(T i)
default boolean isNotIncluded(T i)
default <K extends java.util.Collection<T>> void applyFilter(K others)
default <K extends java.util.Collection<T>> java.util.Set<T> applyFilterToImmutable(K collection)
default <K extends java.util.Collection<T>> long countIntersection(K collection)
default long numberOfIncluded(java.util.Collection<T> collection)