com.jxml.quick.recycle
Class QSoftDocHash

java.lang.Object
  |
  +--com.jxml.quick.recycle.QSoftDocHash

public final class QSoftDocHash
extends Object

A hash table with soft value references to QDoc objects.


Field Summary
protected  HashMap hash
           
protected  ReferenceQueue queue
           
 
Constructor Summary
QSoftDocHash()
           
 
Method Summary
 QDoc add(QDoc doc)
           
 QDoc get(String key)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

hash

protected HashMap hash

queue

protected ReferenceQueue queue
Constructor Detail

QSoftDocHash

public QSoftDocHash()
Method Detail

add

public QDoc add(QDoc doc)

get

public QDoc get(String key)