|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ILevel2MapEntriesSelectedValueOperator<I,K,V>
Method Detail |
---|
ILevel2MapEntriesSelectedValueSelectedOperator<I,K,V> ifTrue(IFunction<? super V,Boolean> eval)
SelectableMapEntryComponentOperator
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.
ifTrue
in interface SelectableMapEntryComponentOperator<V>
eval
- the evaluator to be used for selecting targets.
ILevel2MapEntriesSelectedValueSelectedOperator<I,K,V> ifFalse(IFunction<? super V,Boolean> eval)
SelectableMapEntryComponentOperator
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.
ifFalse
in interface SelectableMapEntryComponentOperator<V>
eval
- the evaluator to be used for selecting targets.
ILevel2MapEntriesSelectedValueSelectedOperator<I,K,V> ifNullOrFalse(IFunction<? super V,Boolean> eval)
ILevel2MapEntriesSelectedValueSelectedOperator<I,K,V> ifNotNullAndFalse(IFunction<? super V,Boolean> eval)
ILevel2MapEntriesSelectedValueSelectedOperator<I,K,V> ifNull()
SelectableMapEntryComponentOperator
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.
ifNull
in interface SelectableMapEntryComponentOperator<V>
ILevel2MapEntriesSelectedValueSelectedOperator<I,K,V> ifNullOrTrue(IFunction<? super V,Boolean> eval)
ILevel2MapEntriesSelectedValueSelectedOperator<I,K,V> ifNotNull()
SelectableMapEntryComponentOperator
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.
ifNotNull
in interface SelectableMapEntryComponentOperator<V>
ILevel2MapEntriesSelectedValueSelectedOperator<I,K,V> ifNotNullAndTrue(IFunction<? super V,Boolean> eval)
ILevel1MapEntriesSelectedOperator<I,K,V> endOn()
NavigatingMapEntryOperator
Stops the selection of key/value. After the execution of this method, all subsequent operations will be applied on the map entry as a whole instead of only on its key or value.
endOn
in interface NavigatingMapEntryOperator
ILevel2MapEntriesSelectedValueOperator<I,K,V> replaceWith(V replacement)
ReplaceableOperator
Replaces the current target object with the specified replacement.
replaceWith
in interface ReplaceableOperator<V>
replacement
- the object which will replace the current target object.
ILevel2MapEntriesSelectedValueOperator<I,K,V> exec(IFunction<? super V,? extends V> function)
ExecutableSelectedOperator
Executes the specified function on the target object, creating a new operator containing the result of the execution.
This function does not allow the operator target type to change because a selection ("if") has already been done on the target objects, and this would render the operator inconsistent (some objects would belong to a type and others to another type).
exec
in interface ExecutableSelectedOperator<V>
function
- the function to be executed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |