Package com.gengoai.collection.counter
Contains implementations for Counters and MultiCounters that are specialized object-double and object-object-double
maps.
-
Interface Summary Interface Description Counter<T> A specialized object to double map that allows basic statistics over the objects and their values.MultiCounter<K,V> A specialized object-object to double map that allows basic statistics over the object pairs and their values. -
Class Summary Class Description BaseMapCounter<T> Abstract implementation of a counter backed by aMap
.BaseMultiCounter<K,V> Implementation of a MultiCounter using a HashMaps.ConcurrentHashMapCounter<T> Implementation of a Counter using a ConcurrentHashMapConcurrentHashMapMultiCounter<K,V> Implementation of a MultiCounter using a ConcurrentHashMaps withConcurrentHashMapCounter
as the child counters..Counters Common methods for reading counters from structured files, creating synchronized and unmodifiable wrappers.HashMapCounter<T> Implementation of a Counter using a HashMapHashMapMultiCounter<K,V> Implementation of a MultiCounter using a HashMaps.MultiCounters Common methods for reading multi-counters from structured files, creating synchronized and unmodifiable wrappers.