T
- the content typepublic class IncludeExcludeContentSelector<T> extends Object implements ContentSelector<T>
Constructor and Description |
---|
IncludeExcludeContentSelector(Layer layer,
List<ContentFilter<T>> includes,
List<ContentFilter<T>> excludes) |
IncludeExcludeContentSelector(Layer layer,
List<S> includes,
List<S> excludes,
Function<S,ContentFilter<T>> filterFactory) |
Modifier and Type | Method and Description |
---|---|
boolean |
contains(T item)
Returns
true if the specified item is contained in this selection. |
Layer |
getLayer()
Return the
Layer that the selector represents. |
public IncludeExcludeContentSelector(Layer layer, List<ContentFilter<T>> includes, List<ContentFilter<T>> excludes)
public Layer getLayer()
ContentSelector
Layer
that the selector represents.getLayer
in interface ContentSelector<T>
public boolean contains(T item)
ContentSelector
true
if the specified item is contained in this selection.contains
in interface ContentSelector<T>
item
- the item to test