Class ConcurrentHashMapCounter<T>

    • Constructor Detail

      • ConcurrentHashMapCounter

        public ConcurrentHashMapCounter()
        Instantiates a new Concurrent hash map counter.
      • ConcurrentHashMapCounter

        public ConcurrentHashMapCounter​(@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