|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuk.ac.ebi.adfconverter.common.util.pool.StringPool
Pool for String objects. Used to reused no more used String object -> memory performance
| Constructor Summary | |
StringPool()
|
|
| Method Summary | |
static void |
clean()
Cleans the pool |
static java.lang.String |
getString()
Returns a String object not used. |
static void |
init()
Initialises the pool. |
static void |
returnString(java.lang.String sb)
Freed a String previously used |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public StringPool()
| Method Detail |
public static void clean()
public static java.lang.String getString()
public static void init()
public static void returnString(java.lang.String sb)
sb - the String returned to be used agin
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||