Class MapEntryToProcedure2<K,V>
java.lang.Object
org.eclipse.collections.impl.block.procedure.MapEntryToProcedure2<K,V>
- All Implemented Interfaces:
Serializable, Consumer<Map.Entry<K,V>>, Procedure<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:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Procedure2<? super K, ? super V> private static final long -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
procedure
-
-
Constructor Details
-
MapEntryToProcedure2
-
-
Method Details
-
value
-