Class MapPutProcedure<K,​V>

  • All Implemented Interfaces:
    java.io.Serializable, java.util.function.BiConsumer<K,​V>, Procedure2<K,​V>

    public class MapPutProcedure<K,​V>
    extends java.lang.Object
    implements Procedure2<K,​V>
    Transfers keys and values from one map to another
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.Map<K,​V> newMap  
      private static long serialVersionUID  
    • Constructor Summary

      Constructors 
      Constructor Description
      MapPutProcedure​(java.util.Map<K,​V> newMap)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void value​(K key, V value)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.function.BiConsumer

        andThen
      • Methods inherited from interface org.eclipse.collections.api.block.procedure.Procedure2

        accept
    • Field Detail

      • newMap

        private final java.util.Map<K,​V> newMap
    • Constructor Detail

      • MapPutProcedure

        public MapPutProcedure​(java.util.Map<K,​V> newMap)
    • Method Detail

      • value

        public void value​(K key,
                          V value)
        Specified by:
        value in interface Procedure2<K,​V>