org.sourcejammer.util
Class NodeCache
java.lang.Object
  |
  +--org.sourcejammer.util.NodeCache
- All Implemented Interfaces: 
- Cache
- public class NodeCache- extends java.lang.Object- implements Cache
Title:
 Description:
 Copyright:    Copyright (c) 2001
 Company:
- Version:
- 1.0
- Author:
 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
 
masterList
private CachedObjectMasterList masterList
mhshCache
private java.util.Hashtable mhshCache
NodeCache
private NodeCache()
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.
 
- 
 
- 
- CacheException
 
removeNodeFromCache
public Node removeNodeFromCache(long uniqueID)
                         throws CacheException
- 
 
- 
- CacheException
 
toString
public java.lang.String toString()
- 
- Overrides:
- toStringin class- java.lang.Object
 
- 
 
getCache
protected java.util.Hashtable getCache()
- 
 
- 
 
remove
public void remove(CachedObject o)
- 
- Specified by:
- removein interface- Cache
 
- 
 
main
public static void main(java.lang.String[] args)
- 
 
- 
 
Copyright © 2003 Soucejammer project.