public final class InternCache extends LinkedHashMap
Note: that this class extends LinkedHashMap is an implementation
detail -- no code should ever directly call Map methods.
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier and Type | Method and Description |
|---|---|
static InternCache |
getInstance() |
String |
intern(String input) |
protected boolean |
removeEldestEntry(Map.Entry eldest) |
clear, containsValue, getclone, containsKey, entrySet, isEmpty, keySet, put, putAll, remove, size, valuesequals, hashCode, toStringpublic static InternCache getInstance()
protected boolean removeEldestEntry(Map.Entry eldest)
removeEldestEntry in class LinkedHashMapCopyright © 2012 Codehaus. All Rights Reserved.