|
org.netbeans.modules.editor.lib/1 1.44.0 9 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.netbeans.editor.ext.StringCache
public class StringCache
Cache holding the most commonly used strings. The unused strings are discarded when they reach the end of chain.
| Field Summary | |
|---|---|
int |
statHits
|
int |
statQueries
|
| Constructor Summary | |
|---|---|
StringCache()
|
|
StringCache(int maxSize)
|
|
StringCache(int maxSize,
int initialMapCapacity)
|
|
| Method Summary | |
|---|---|
String |
getString(char[] chars,
int offset,
int len)
|
void |
putSurviveString(String s)
Put a string into cache that will survive there so that it will be never removed. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public int statQueries
public int statHits
| Constructor Detail |
|---|
public StringCache()
public StringCache(int maxSize)
public StringCache(int maxSize,
int initialMapCapacity)
| Method Detail |
|---|
public String getString(char[] chars,
int offset,
int len)
public void putSurviveString(String s)
public String toString()
toString in class Object
|
org.netbeans.modules.editor.lib/1 1.44.0 9 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||