Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.ka2ddo.util
Class StringCache

    java.lang.Object
      java.util.AbstractCollection<E>
          java.util.AbstractSet<T>
              org.ka2ddo.util.ShareableObjectCache<java.lang.String>
                  org.ka2ddo.util.StringCache

All Implemented Interfaces:
  java.lang.Iterable<java.lang.String>, java.util.Collection<java.lang.String>, java.util.Set<java.lang.String>

    public final class StringCache

extends ShareableObjectCache<java.lang.String>

This singleton class provides a pruneable cache for constant Strings that won't eat up the PermGen part of the Java JVM heap.

Method Summary
`protected java.lang.Class` | `getType()`
`static java.lang.String` | `intern(java.lang.String s)`
`static java.lang.String` | `paramString()`

Methods inherited from class org.ka2ddo.util.ShareableObjectCache
`add, clear, internKey, isEmpty, iterator, remove, size, toString`

Methods inherited from class java.util.AbstractSet
`equals, hashCode, removeAll`

Methods inherited from class java.util.AbstractCollection
`addAll, contains, containsAll, retainAll, toArray, toArray`

Methods inherited from class java.lang.Object
`clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

Methods inherited from interface java.util.Set
`addAll, contains, containsAll, retainAll, toArray, toArray`

Method Detail

### intern

    public static java.lang.String intern(java.lang.String s)

### getType

    protected java.lang.Class getType()

  Specified by:
    `getType` in class `ShareableObjectCache<java.lang.String>`

### paramString

    public static java.lang.String paramString()

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD