|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.batik.ext.awt.image.rendered.LRUCache
Inner Class Summary | |
class |
LRUCache.LRUNode
Interface for nodes in the LRU cache, basicly nodes in a doubly linked list. |
static interface |
LRUCache.LRUObj
Interface for object participating in the LRU Cache. |
Constructor Summary | |
LRUCache(int size)
|
Method Summary | |
void |
add(LRUCache.LRUObj obj)
|
void |
flush()
|
int |
getUsed()
|
protected void |
print()
|
void |
remove(LRUCache.LRUObj obj)
|
void |
setSize(int newSz)
|
void |
touch(LRUCache.LRUObj obj)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public LRUCache(int size)
Method Detail |
public int getUsed()
public void setSize(int newSz)
public void flush()
public void remove(LRUCache.LRUObj obj)
public void touch(LRUCache.LRUObj obj)
public void add(LRUCache.LRUObj obj)
protected void print()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |