com.vladium.util
Class SoftValueMap.IndexedSoftReference

java.lang.Object
  extended by java.lang.ref.Reference<T>
      extended by java.lang.ref.SoftReference
          extended by com.vladium.util.SoftValueMap.IndexedSoftReference
Enclosing class:
SoftValueMap

static class SoftValueMap.IndexedSoftReference
extends java.lang.ref.SoftReference

An extension of WeakReference that can store an index of the bucket it is associated with.


Field Summary
(package private)  int m_bucketIndex
           
 
Constructor Summary
SoftValueMap.IndexedSoftReference(java.lang.Object referent, java.lang.ref.ReferenceQueue queue, int bucketIndex)
           
 
Method Summary
 
Methods inherited from class java.lang.ref.SoftReference
get
 
Methods inherited from class java.lang.ref.Reference
clear, enqueue, isEnqueued
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_bucketIndex

int m_bucketIndex
Constructor Detail

SoftValueMap.IndexedSoftReference

SoftValueMap.IndexedSoftReference(java.lang.Object referent,
                                  java.lang.ref.ReferenceQueue queue,
                                  int bucketIndex)