K
- The class of the objects being counted.public class PrunedCounts<K> extends LinkedHashMap<K,Integer> implements Serializable
Modifier and Type | Class and Description |
---|---|
static interface |
PrunedCounts.Pruner<K>
Prunes counts down.
|
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
PrunedCounts(int total) |
Modifier and Type | Method and Description |
---|---|
int |
getTotal() |
String |
toString() |
clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, removeEldestEntry, replaceAll, values
clone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, size
equals, hashCode
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, containsKey, equals, hashCode, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, size
public int getTotal()
public String toString()
toString
in class AbstractMap<K,Integer>
Copyright © 2018. All rights reserved.