|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SelectableMapEntryOperator<K,V>
This interface contains methods for selecting map entries.
Method Summary | |
---|---|
SelectedMapEntryOperator<K,V> |
ifFalse(IFunction<? super Map.Entry<K,V>,Boolean> eval)
Selects only those targets for which the specified evaluator returns false. |
SelectedMapEntryOperator<K,V> |
ifIndex(int... indexes)
Selects only those targets which index in the current level of iteration matches any of the specified indexes. |
SelectedMapEntryOperator<K,V> |
ifIndexNot(int... indexes)
Selects only those targets which index in the current level of iteration does not match any of the specified indexes. |
SelectedMapEntryOperator<K,V> |
ifKeyEquals(K... keys)
Selects only those entries which key matches any of the specified values. |
SelectedMapEntryOperator<K,V> |
ifKeyNotEquals(K... keys)
Selects only those entries which key does not match any of the specified values. |
SelectedMapEntryOperator<K,V> |
ifTrue(IFunction<? super Map.Entry<K,V>,Boolean> eval)
Selects only those targets for which the specified evaluator returns true. |
Method Detail |
---|
SelectedMapEntryOperator<K,V> 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.
SelectedMapEntryOperator<K,V> ifTrue(IFunction<? super Map.Entry<K,V>,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.
SelectedMapEntryOperator<K,V> ifFalse(IFunction<? super Map.Entry<K,V>,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.
SelectedMapEntryOperator<K,V> 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.
SelectedMapEntryOperator<K,V> ifKeyEquals(K... keys)
Selects only those entries which key matches any of the specified values. After this method, all the subsequently executed operations will only be executed on the target objects selected here, until an "endIf()" method is called.
keys
- the key values to be matched
SelectedMapEntryOperator<K,V> ifKeyNotEquals(K... keys)
Selects only those entries which key does not match any of the specified values. After this method, all the subsequently executed operations will only be executed on the target objects selected here, until an "endIf()" method is called.
keys
- the key values to be matched
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |