- All Implemented Interfaces:
java.io.Serializable
, java.util.function.Consumer<java.util.Map.Entry<K,V>>
, Procedure<java.util.Map.Entry<K,V>>
public final class MapEntryToProcedure2<K,V>
extends java.lang.Object
implements Procedure<java.util.Map.Entry<K,V>>
MapEntryToProcedure2 translates the result of calling entrySet() on a Map, which results in a collection
of Map.Entry objects into corresponding Procedure2s. This removes the need to deal with Map.Entry when
iterating over an entrySet.
- See Also:
- Serialized Form