org.apache.batik.ext.awt.image.rendered
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. |
| 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) |