SourceJammer 1.2.0.1 May 20, 2002
Copyright (c) 2001, 2002 Robert MacGrogan

org.sourcejammer.util
Class NodeCache

java.lang.Object
  |
  +--org.sourcejammer.util.NodeCache
All Implemented Interfaces:
Cache
Direct Known Subclasses:
FSNodeCache

public class NodeCache
extends java.lang.Object
implements Cache

Title: Description: Copyright: Copyright (c) 2001 Company:


Constructor Summary
NodeCache(CachedObjectMasterList master)
           
 
Method Summary
 void addToCache(Node nd)
           
protected  java.util.Hashtable getCache()
           
static void main(java.lang.String[] args)
           
 void remove(CachedObject o)
           
 Node removeNodeFromCache(long uniqueID)
           
 Node retriveNodeFromCache(long uniqueID)
          Throws CacheException if node is not in the cache.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NodeCache

public NodeCache(CachedObjectMasterList master)
Method Detail

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)

SourceJammer 1.2.0.1 May 20, 2002
Copyright (c) 2001, 2002 Robert MacGrogan