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