public final class StyleCache extends DividedScale<StyleElementList>
DividedScale.RangeViolatedError| Modifier and Type | Field and Description |
|---|---|
static StyleCache |
EMPTY_STYLECACHE |
private static Storage<StyleCache> |
internPool |
| Modifier | Constructor and Description |
|---|---|
private |
StyleCache() |
private |
StyleCache(StyleCache sc) |
| Modifier and Type | Method and Description |
|---|---|
private StyleCache |
intern()
Like String.intern() (reduce memory consumption).
|
StyleCache |
put(StyleElementList o,
Range r)
Add data object which is valid for the given range.
|
consistencyTest, equals, get, getWithRange, hashCode, putImpl, toStringprivate static final Storage<StyleCache> internPool
public static final StyleCache EMPTY_STYLECACHE
private StyleCache(StyleCache sc)
private StyleCache()
public StyleCache put(StyleElementList o, Range r)
put in class DividedScale<StyleElementList>o - data objectr - the valid rangeDividedScale objectprivate StyleCache intern()