net.ontopia.utils
Class SoftValueHashMapIndex.SoftEntry

java.lang.Object
  extended by java.lang.ref.Reference<T>
      extended by java.lang.ref.SoftReference
          extended by net.ontopia.utils.SoftValueHashMapIndex.SoftEntry
Enclosing class:
SoftValueHashMapIndex

public static class SoftValueHashMapIndex.SoftEntry
extends java.lang.ref.SoftReference


Field Summary
 java.lang.Object key
           
 int keyhash
           
 boolean removed
           
 
Constructor Summary
SoftValueHashMapIndex.SoftEntry()
           
SoftValueHashMapIndex.SoftEntry(java.lang.Object key, java.lang.Object value, java.lang.ref.ReferenceQueue queue)
           
 
Method Summary
 boolean equals(java.lang.Object okey)
           
 java.lang.Object getKey()
           
 java.lang.Object getValue()
           
 
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, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

keyhash

public int keyhash

key

public java.lang.Object key

removed

public boolean removed
Constructor Detail

SoftValueHashMapIndex.SoftEntry

public SoftValueHashMapIndex.SoftEntry()

SoftValueHashMapIndex.SoftEntry

public SoftValueHashMapIndex.SoftEntry(java.lang.Object key,
                                       java.lang.Object value,
                                       java.lang.ref.ReferenceQueue queue)
Method Detail

getKey

public java.lang.Object getKey()

getValue

public java.lang.Object getValue()

equals

public boolean equals(java.lang.Object okey)
Overrides:
equals in class java.lang.Object


Copyright © 2000-2012 Ontopia.