org.op4j.operators.qualities
Interface NavigableMapEntryOperator

All Known Subinterfaces:
ILevel1MapEntriesOperator<I,K,V>, ILevel1MapEntriesSelectedOperator<I,K,V>, ILevel1MapSelectedEntriesOperator<I,K,V>, ILevel1MapSelectedEntriesSelectedOperator<I,K,V>
All Known Implementing Classes:
Level1MapEntriesOperator, Level1MapEntriesOperator, Level1MapEntriesSelectedOperator, Level1MapEntriesSelectedOperator, Level1MapSelectedEntriesOperator, Level1MapSelectedEntriesOperator, Level1MapSelectedEntriesSelectedOperator, Level1MapSelectedEntriesSelectedOperator

public interface NavigableMapEntryOperator

This interface contains methods for accessing keys and values at map entries.

Since:
1.0
Author:
Daniel Fernández

Method Summary
 NavigatingMapEntryOperator onKey()
           Accesses the key of a map entry.
 NavigatingMapEntryOperator onValue()
           Accesses the value of a map entry.
 

Method Detail

onKey

NavigatingMapEntryOperator onKey()

Accesses the key of a map entry. After the execution of this method, all subsequent operations will be performed on the map entry's key, until an "endOn()" method is executed.

Returns:
an operator which will execute all operations on the key of the map entry.

onValue

NavigatingMapEntryOperator onValue()

Accesses the value of a map entry. After the execution of this method, all subsequent operations will be performed on the map entry's value, until an "endOn()" method is executed.

Returns:
an operator which will execute all operations on the value of the map entry.


Copyright © 2012 The OP4J team. All Rights Reserved.