net.ontopia.utils
Class SoftHashMapIndex.SoftEntry<K,E>

java.lang.Object
  extended by java.lang.ref.Reference<T>
      extended by java.lang.ref.SoftReference<K>
          extended by net.ontopia.utils.SoftHashMapIndex.SoftEntry<K,E>
Enclosing class:
SoftHashMapIndex<K,E>

public static class SoftHashMapIndex.SoftEntry<K,E>
extends java.lang.ref.SoftReference<K>


Field Summary
 int keyhash
           
 E value
           
 
Constructor Summary
SoftHashMapIndex.SoftEntry()
           
SoftHashMapIndex.SoftEntry(K key, E value, java.lang.ref.ReferenceQueue queue)
           
 
Method Summary
 boolean equals(java.lang.Object okey)
           
 K getKey()
           
 E 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

value

public E value
Constructor Detail

SoftHashMapIndex.SoftEntry

public SoftHashMapIndex.SoftEntry()

SoftHashMapIndex.SoftEntry

public SoftHashMapIndex.SoftEntry(K key,
                                  E value,
                                  java.lang.ref.ReferenceQueue queue)
Method Detail

getKey

public K getKey()

getValue

public E getValue()

equals

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


Copyright © 2000-2012 Ontopia.