org.apache.batik.ext.awt.image.rendered
Class LRUCache
java.lang.Object
org.apache.batik.ext.awt.image.rendered.LRUCache
- public class LRUCache
- extends Object
Nested 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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LRUCache
public LRUCache(int size)
getUsed
public int getUsed()
setSize
public void setSize(int newSz)
flush
public void flush()
remove
public void remove(LRUCache.LRUObj obj)
touch
public void touch(LRUCache.LRUObj obj)
add
public void add(LRUCache.LRUObj obj)
print
protected void print()
Copyright © 2009 Apache Software Foundation. All Rights Reserved.