Class HashMapCounter<T>

    • Constructor Detail

      • HashMapCounter

        public HashMapCounter()
        Instantiates a new Hash map counter.
      • HashMapCounter

        public HashMapCounter​(@NonNull
                              @NonNull Map<T,​Double> map)
    • Method Detail

      • newInstance

        protected <R> Counter<R> newInstance()
        Description copied from class: BaseMapCounter
        New instance counter.
        Specified by:
        newInstance in class BaseMapCounter<T>
        Type Parameters:
        R - the type parameter
        Returns:
        the counter