|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SelectableElementsOperator<T>
This interface contains methods for selecting targets.
Method Summary | |
---|---|
SelectedElementsOperator<T> |
ifFalse(IFunction<? super T,Boolean> eval)
Selects only those targets for which the specified evaluator returns false. |
SelectedElementsOperator<T> |
ifIndex(int... indexes)
Selects only those targets which index in the current level of iteration matches any of the specified indexes. |
SelectedElementsOperator<T> |
ifIndexNot(int... indexes)
Selects only those targets which index in the current level of iteration does not match any of the specified indexes. |
SelectedElementsOperator<T> |
ifNotNull()
Selects only those targets which are not null. |
SelectedElementsOperator<T> |
ifNull()
Selects only those targets which are null. |
SelectedElementsOperator<T> |
ifTrue(IFunction<? super T,Boolean> eval)
Selects only those targets for which the specified evaluator returns true. |
Method Detail |
---|
SelectedElementsOperator<T> ifIndex(int... indexes)
Selects only those targets which index in the current level of iteration matches any of the specified indexes. After this method, all the subsequently executed operations will only be executed on the target objects selected here, until an "endIf()" method is called.
indexes
- the indexes of the target objects which will be selected.
SelectedElementsOperator<T> ifTrue(IFunction<? super T,Boolean> eval)
Selects only those targets for which the specified evaluator returns true. After this method, all the subsequently executed operations will only be executed on the target objects selected here, until an "endIf()" method is called.
eval
- the evaluator to be used for selecting targets.
SelectedElementsOperator<T> ifFalse(IFunction<? super T,Boolean> eval)
Selects only those targets for which the specified evaluator returns false. After this method, all the subsequently executed operations will only be executed on the target objects selected here, until an "endIf()" method is called.
eval
- the evaluator to be used for selecting targets.
SelectedElementsOperator<T> ifNull()
Selects only those targets which are null. After this method, all the subsequently executed operations will only be executed on the target objects selected here, until an "endIf()" method is called.
SelectedElementsOperator<T> ifIndexNot(int... indexes)
Selects only those targets which index in the current level of iteration does not match any of the specified indexes. After this method, all the subsequently executed operations will only be executed on the target objects selected here, until an "endIf()" method is called.
indexes
- the indexes of the target objects which will be selected.
SelectedElementsOperator<T> ifNotNull()
Selects only those targets which are not null. After this method, all the subsequently executed operations will only be executed on the target objects selected here, until an "endIf()" method is called.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |