Package org.antlr.v4.misc
Class FrequencySet<T>
java.lang.Object
java.util.AbstractMap<K,V>
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 extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object, V extends Object> -
Field Summary
Fields -
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, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesMethods inherited from class java.util.AbstractMap
equals, hashCode, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
FrequencySet
public FrequencySet()
-
-
Method Details
-
count
-
add
-