public class StringCache
extends java.lang.Object
String.intern()
with no capacity constraints.Modifier and Type | Field and Description |
---|---|
static int |
LENGTH_LIMIT |
Constructor and Description |
---|
StringCache() |
StringCache(int lengthLimit) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
cachedValueOf(java.lang.String str) |
static java.lang.String |
intern(java.lang.String original) |
int |
size() |
public static final int LENGTH_LIMIT