|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.enhydra.xml.xmlc.deferredparsing.Cache.MRUCache
A simple class for holding references to the most recently used entries.
Constructor Summary | |
(package private) |
Cache.MRUCache(int num)
Creates a new MRUCache instance. |
Method Summary | |
(package private) Object |
add(Object obj)
Describe add method here. |
(package private) void |
clear()
Clear the MRU cache. |
(package private) int |
getCapacity()
Describe getCapacity method here. |
(package private) void |
remove(Object obj)
Remove an object from the cache. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
Cache.MRUCache(int num)
MRUCache
instance.
num
- an int
valueMethod Detail |
int getCapacity()
getCapacity
method here.
int
valueObject add(Object obj)
add
method here.
obj
- an Object
value
Object
valuevoid remove(Object obj)
obj
- an Object
valuevoid clear()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |