public final class StringCache extends ShareableObjectCache<java.lang.String>
Modifier and Type | Method and Description |
---|---|
protected java.lang.Class<?> |
getType()
Get data type of the objects stored in this ShareableObjectCache.
|
static java.lang.String |
intern(java.lang.String s)
Return the interned singleton copy of the specified String.
|
add, clear, internKey, isEmpty, iterator, remove, size, toString
addAll, contains, containsAll, retainAll, toArray, toArray
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static java.lang.String intern(java.lang.String s)
s
- String to look for interned copyprotected java.lang.Class<?> getType()
getType
in class ShareableObjectCache<java.lang.String>