|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object org.op4j.operators.impl.AbstractOperator org.op4j.operators.impl.fn.map.Level2MapSelectedEntriesSelectedKeySelectedOperator<I,K,V>
public final class Level2MapSelectedEntriesSelectedKeySelectedOperator<I,K,V>
Constructor Summary | |
---|---|
Level2MapSelectedEntriesSelectedKeySelectedOperator(Target target)
|
Method Summary | |
---|---|
Level2MapSelectedEntriesSelectedKeyOperator<I,K,V> |
endIf()
Ends the selection currently active for this level. |
Level2MapSelectedEntriesSelectedKeySelectedOperator<I,K,V> |
exec(IFunction<? super K,? extends K> function)
Executes the specified function on the target object, creating a new operator containing the result of the execution. |
Function<I,Map<K,V>> |
get()
Returns a function which will execute all the logic specified from the "Fn.on" expression. |
Level2MapSelectedEntriesSelectedKeySelectedOperator<I,K,V> |
replaceWith(K replacement)
Replaces the current target object with the specified replacement. |
Methods inherited from class org.op4j.operators.impl.AbstractOperator |
---|
getTarget |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Level2MapSelectedEntriesSelectedKeySelectedOperator(Target target)
Method Detail |
---|
public Level2MapSelectedEntriesSelectedKeyOperator<I,K,V> endIf()
SelectedMapEntryComponentOperator
Ends the selection currently active for this level.
endIf
in interface ILevel2MapSelectedEntriesSelectedKeySelectedOperator<I,K,V>
endIf
in interface SelectedMapEntryComponentOperator<K>
public Level2MapSelectedEntriesSelectedKeySelectedOperator<I,K,V> exec(IFunction<? super K,? extends K> 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 ILevel2MapSelectedEntriesSelectedKeySelectedOperator<I,K,V>
exec
in interface ExecutableSelectedOperator<K>
function
- the function to be executed
public Level2MapSelectedEntriesSelectedKeySelectedOperator<I,K,V> replaceWith(K replacement)
ReplaceableOperator
Replaces the current target object with the specified replacement.
replaceWith
in interface ILevel2MapSelectedEntriesSelectedKeySelectedOperator<I,K,V>
replaceWith
in interface ReplaceableOperator<K>
replacement
- the object which will replace the current target object.
public Function<I,Map<K,V>> get()
UniqFnOperator
Returns a function which will execute all the logic specified from the "Fn.on" expression.
get
in interface UniqFnOperator<I,Map<K,V>>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |