public class AndDataSelector extends java.lang.Object implements DataSelector
DataSelector
. The data is
selected if it is selected by all the
DataSelectors
.OrDataSelector
,
ReverseDataSelector
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
REVISION |
Constructor and Description |
---|
AndDataSelector(DataSelector... dsArray)
Creates a new AndDataSelector from an array of DataSelectors.
|
AndDataSelector(DataSelector ds1,
DataSelector ds2)
Creates a new AndDataSelector from 2 DataSelectors.
|
AndDataSelector(DataSelector ds1,
DataSelector ds2,
DataSelector ds3)
Creates a new AndDataSelector from 3 DataSelectors.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isSelected(Data data)
Returns true if all the DataSelector returns true.
|
public static final java.lang.String REVISION
public AndDataSelector(DataSelector ds1, DataSelector ds2)
ds1
- the first DataSelectords2
- the second DataSelectorpublic AndDataSelector(DataSelector ds1, DataSelector ds2, DataSelector ds3)
ds1
- the first DataSelectords2
- the second DataSelectords3
- the third DataSelectorpublic AndDataSelector(DataSelector... dsArray)
dsArray
- the array of DataSelectorpublic boolean isSelected(Data data)
isSelected
in interface DataSelector
data
- the data to evaluate.Copyright © 2001-2010 Jalios SA. All Rights Reserved.