Class BiMapCollectProcedure<T,K,V>
- java.lang.Object
-
- org.eclipse.collections.impl.block.procedure.BiMapCollectProcedure<T,K,V>
-
- All Implemented Interfaces:
java.io.Serializable,java.util.function.Consumer<T>,Procedure<T>
public final class BiMapCollectProcedure<T,K,V> extends java.lang.Object implements Procedure<T>
BiMapCollectProcedure uses a Function to calculate the key for an object and puts the object with the key into the specified BiMap.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private MutableBiMap<K,V>biMapprivate Function<? super T,? extends K>keyFunctionprivate static longserialVersionUIDprivate Function<? super T,? extends V>valueFunction
-
Constructor Summary
Constructors Constructor Description BiMapCollectProcedure(MutableBiMap<K,V> newMap, Function<? super T,? extends K> newKeyFunction, Function<? super T,? extends V> newValueFunction)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidvalue(T object)
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
biMap
private final MutableBiMap<K,V> biMap
-
-