public final class InternCache extends ConcurrentHashMap<String,String>
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 | Field and Description |
---|---|
static InternCache |
instance |
Modifier and Type | Method and Description |
---|---|
String |
intern(String input) |
clear, contains, containsKey, containsValue, elements, entrySet, get, isEmpty, keys, keySet, put, putAll, putIfAbsent, remove, remove, replace, replace, size, values
clone, equals, hashCode, toString
public static final InternCache instance
Copyright © 2008–2018 FasterXML. All rights reserved.