private static final class BinaryGraphPrinter.ConstantPool extends LinkedHashMap<Object,Character>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier and Type | Field and Description |
|---|---|
private LinkedList<Character> |
availableIds |
private char |
nextId |
private static long |
serialVersionUID |
| Constructor and Description |
|---|
ConstantPool() |
| Modifier and Type | Method and Description |
|---|---|
char |
add(Object obj) |
private Character |
nextAvailableId() |
protected boolean |
removeEldestEntry(Map.Entry<Object,Character> eldest) |
clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, replaceAll, valuesclone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, sizeequals, hashCode, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, containsKey, equals, hashCode, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, sizeprivate final LinkedList<Character> availableIds
private char nextId
private static final long serialVersionUID
public ConstantPool()
protected boolean removeEldestEntry(Map.Entry<Object,Character> eldest)
removeEldestEntry in class LinkedHashMap<Object,Character>private Character nextAvailableId()