Class HashMapMultiCounter<K,​V>

  • Type Parameters:
    K - the first key type
    V - the second type
    All Implemented Interfaces:
    MultiCounter<K,​V>, Serializable

    public class HashMapMultiCounter<K,​V>
    extends BaseMultiCounter<K,​V>
    Implementation of a MultiCounter using a HashMaps.
    Author:
    David B. Bracewell
    See Also:
    Serialized Form
    • Constructor Detail

      • HashMapMultiCounter

        public HashMapMultiCounter()
        Instantiates a new HashMapMultiCounter.
      • HashMapMultiCounter

        public HashMapMultiCounter​(@NonNull
                                   @NonNull Collection<Tuple3<K,​V,​Double>> items)
        Instantiates a new HashMapMultiCounter initializing it with the given values.
        Parameters:
        items - the items