| 
Rice Pastry API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectrice.p2p.util.StringCache
Implementation of a cache of strings
| Constructor Summary | |
StringCache()
Constructs an empty IntHashMap with the default initial capacity (16) and the default load factor (0.75).  | 
|
| Method Summary | |
 void | 
clear()
Removes all mappings from this map.  | 
 java.lang.String | 
get(char[] chars)
Returns the value to which the specified key is mapped in this identity hash map, or null if the map contains no mapping for this key.  | 
 java.lang.String | 
get(char[] chars,
    int offset,
    int length)
Returns the value to which the specified key is mapped in this identity hash map, or null if the map contains no mapping for this key.  | 
 boolean | 
isEmpty()
Returns true if this map contains no key-value mappings.  | 
 int | 
size()
Returns the number of key-value mappings in this map.  | 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
public StringCache()
| Method Detail | 
public boolean isEmpty()
public java.lang.String get(char[] chars)
chars - DESCRIBE THE PARAMETER
#put(Object, Object)
public java.lang.String get(char[] chars,
                            int offset,
                            int length)
chars - DESCRIBE THE PARAMETERoffset - DESCRIBE THE PARAMETERlength - DESCRIBE THE PARAMETER
#put(Object, Object)public int size()
public void clear()
  | 
Rice Pastry API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||