JavaScript is disabled on your browser.
Skip navigation links
gnu.kawa.util

Class WeakHashNode<K,V>

  • All Implemented Interfaces:
    java.util.Map.Entry<K,V>


    public class WeakHashNode<K,V>
    extends java.lang.ref.WeakReference<K>
    implements java.util.Map.Entry<K,V>
    • Constructor Summary

      Constructors
      Constructor and Description
      WeakHashNode (K key, java.lang.ref.ReferenceQueue<K> q, int hash)
    • Method Summary

      All Methods
      Modifier and Type Method and Description
      K getKey ()
      V getValue ()
      V setValue (V value)
      • Methods inherited from class java.lang.ref.Reference

        clear, enqueue, get, isEnqueued
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.Map.Entry

        comparingByKey, comparingByKey, comparingByValue, comparingByValue, equals, hashCode
    • Field Detail

      • hash

        public int hash
      • value

        public V value
    • Constructor Detail

      • WeakHashNode

        public WeakHashNode(K key,
         java.lang.ref.ReferenceQueue<K> q,
         int hash)
    • Method Detail

      • getKey

        public K getKey()
        Specified by:
        getKey in interface java.util.Map.Entry<K,V>
      • getValue

        public V getValue()
        Specified by:
        getValue in interface java.util.Map.Entry<K,V>
      • setValue

        public V setValue(V value)
        Specified by:
        setValue in interface java.util.Map.Entry<K,V>
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /