public final class InternCache
extends java.util.LinkedHashMap<java.lang.String,java.lang.String>
Note: that this class extends LinkedHashMap
is an implementation
detail -- no code should ever directly call Map methods.
Modifier and Type | Field and Description |
---|---|
static InternCache |
instance |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
intern(java.lang.String input) |
protected boolean |
removeEldestEntry(java.util.Map.Entry<java.lang.String,java.lang.String> eldest) |
clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, replaceAll, values
clone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, size
public static final InternCache instance