Package org.antlr.v4.misc
Class FrequencySet<T>
java.lang.Object
java.util.AbstractMap<T,MutableInt>
java.util.HashMap<T,MutableInt>
org.antlr.v4.misc.FrequencySet<T>
- All Implemented Interfaces:
Serializable
,Cloneable
,Map<T,
MutableInt>
Count how many of each key we have; not thread safe
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,
V>, AbstractMap.SimpleImmutableEntry<K, V> -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, newHashMap, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
-
Constructor Details
-
FrequencySet
public FrequencySet()
-
-
Method Details
-
count
-
add
-