Class GroupByUniqueKeyProcedure<T,​K>

  • All Implemented Interfaces:
    java.io.Serializable, java.util.function.Consumer<T>, Procedure<T>

    public class GroupByUniqueKeyProcedure<T,​K>
    extends java.lang.Object
    implements Procedure<T>
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void value​(T object)  
      • 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.Consumer

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

        accept
    • Field Detail

      • map

        private final java.util.Map<K,​T> map
      • keyFunction

        private final Function<? super T,​? extends K> keyFunction
    • Constructor Detail

      • GroupByUniqueKeyProcedure

        public GroupByUniqueKeyProcedure​(java.util.Map<K,​T> newMap,
                                         Function<? super T,​? extends K> newKeyFunction)
    • Method Detail

      • value

        public void value​(T object)
        Specified by:
        value in interface Procedure<T>