@FunctionalInterface public interface DataSelector extends java.util.function.Predicate<Data>
DataSelector instance can be passed to the method
JcmsUtil.applyDataSelector(java.util.Collection, DataSelector) to
allow precise control over the selection of Data in a
Collection. Data object and chooses to select it or not.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
REVISION |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isSelected(Data data)
Evaluates if a data must be selected or not.
|
default boolean |
test(Data data) |
static final java.lang.String REVISION
boolean isSelected(Data data)
data - the data to evaluate.Copyright © 2001-2017 Jalios SA. All Rights Reserved.