Class DoubleNode<K,V>

java.lang.Object
org.glassfish.hk2.utilities.general.internal.DoubleNode<K,V>
Type Parameters:
K - key
V - value

public class DoubleNode<K,V> extends Object
Used for doubly linked lists with weak keys
  • Field Details

  • Constructor Details

  • Method Details

    • getPrevious

      public DoubleNode<K,V> getPrevious()
      Returns:
      the previous
    • setPrevious

      public void setPrevious(DoubleNode<K,V> previous)
      Parameters:
      previous - the previous to set
    • getNext

      public DoubleNode<K,V> getNext()
      Returns:
      the next
    • setNext

      public void setNext(DoubleNode<K,V> next)
      Parameters:
      next - the next to set
    • getWeakKey

      public WeakReference<K> getWeakKey()
      Returns:
      the weakKey
    • getValue

      public V getValue()
      Returns:
      the value
    • getHardenedKey

      public K getHardenedKey()
      Returns:
      the hardenedKey
    • setHardenedKey

      public void setHardenedKey(K hardenedKey)
      Parameters:
      hardenedKey - the hardenedKey to set