private final class AsciiStringInterner.StringReference
extends java.lang.ref.SoftReference<java.lang.String>
SoftReference implementation which maintains a reference to the key in the cache,
which allows aggressive cleaning when garbage collector collects the String instance.| Modifier and Type | Field and Description |
|---|---|
private AsciiStringInterner.BaseKey |
key |
| Constructor and Description |
|---|
StringReference(AsciiStringInterner.BaseKey key,
java.lang.String referent) |
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
dispose() |
private final AsciiStringInterner.BaseKey key
StringReference(AsciiStringInterner.BaseKey key, java.lang.String referent)