Class Collector<K,​V>

  • Type Parameters:
    K - key
    V - value
    All Implemented Interfaces:
    RCollector<K,​V>

    public class Collector<K,​V>
    extends Object
    implements RCollector<K,​V>
    Author:
    Nikita Koksharov
    • Method Detail

      • emit

        public void emit​(K key,
                         V value)
        Description copied from interface: RCollector
        Store key/value
        Specified by:
        emit in interface RCollector<K,​V>
        Parameters:
        key - available to reduce
        value - available to reduce