|
|||||||||
| Home >> All >> org >> apache >> oro >> [ util overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.apache.oro.util
Interface Cache

- All Known Implementing Classes:
- GenericCache
- public interface Cache
An interface defining the basic functions of a cache.
- Since:
- 1.0
- Version:
- @version@
| Method Summary | |
void |
addElement(java.lang.Object key,
java.lang.Object value)
|
int |
capacity()
Returns the maximum number of elements that can be cached at one time. |
java.lang.Object |
getElement(java.lang.Object key)
|
int |
size()
Returns the number of elements in the cache, not to be confused with the capacity() 55 which returns the number
of elements that can be held in the cache at one time. |
| Method Detail |
addElement
public void addElement(java.lang.Object key, java.lang.Object value)
getElement
public java.lang.Object getElement(java.lang.Object key)
size
public int size()
- Returns the number of elements in the cache, not to be confused with
the
capacity()55 which returns the number of elements that can be held in the cache at one time.
capacity
public int capacity()
- Returns the maximum number of elements that can be cached at one time.
|
|||||||||
| Home >> All >> org >> apache >> oro >> [ util overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC