com.vladium.util
Class SoftValueMap.IndexedSoftReference

java.lang.Object
  extended byjava.lang.ref.Reference
      extended byjava.lang.ref.SoftReference
          extended bycom.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.


Nested Class Summary
 
Nested classes inherited from class java.lang.ref.Reference
 
Field Summary
(package private)  int m_bucketIndex
           
 
Fields inherited from class java.lang.ref.SoftReference
 
Fields inherited from class java.lang.ref.Reference
 
Constructor Summary
(package private) SoftValueMap.IndexedSoftReference(java.lang.Object referent, java.lang.ref.ReferenceQueue queue, int bucketIndex)
           
 
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)