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 | Description |
---|---|---|
static InternCache |
instance |
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
intern(java.lang.String input) |
|
protected boolean |
removeEldestEntry(java.util.Map.Entry<java.lang.String,java.lang.String> eldest) |
clone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, size
clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, replaceAll, values
public static final InternCache instance