org.sourcejammer.util
Class NodeCache
java.lang.Object
|
+--org.sourcejammer.util.NodeCache
- Direct Known Subclasses:
- FSNodeCache
- public class NodeCache
- extends java.lang.Object
- implements Cache
Title:
Description:
Copyright: Copyright (c) 2001
Company:
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
NodeCache
public NodeCache(CachedObjectMasterList master)
addToCache
public void addToCache(Node nd)
retriveNodeFromCache
public Node retriveNodeFromCache(long uniqueID)
throws CacheException
- Throws CacheException if node is not in the cache.
removeNodeFromCache
public Node removeNodeFromCache(long uniqueID)
throws CacheException
toString
public java.lang.String toString()
- Overrides:
- toString in class java.lang.Object
getCache
protected java.util.Hashtable getCache()
remove
public void remove(CachedObject o)
- Specified by:
- remove in interface Cache
main
public static void main(java.lang.String[] args)