K
- keyV
- valuepublic class DoubleNode<K,V> extends Object
Constructor and Description |
---|
DoubleNode(K key,
V value,
ReferenceQueue<? super K> queue) |
Modifier and Type | Method and Description |
---|---|
K |
getHardenedKey() |
DoubleNode<K,V> |
getNext() |
DoubleNode<K,V> |
getPrevious() |
V |
getValue() |
WeakReference<K> |
getWeakKey() |
void |
setHardenedKey(K hardenedKey) |
void |
setNext(DoubleNode<K,V> next) |
void |
setPrevious(DoubleNode<K,V> previous) |
public DoubleNode(K key, V value, ReferenceQueue<? super K> queue)
public DoubleNode<K,V> getPrevious()
public void setPrevious(DoubleNode<K,V> previous)
previous
- the previous to setpublic DoubleNode<K,V> getNext()
public void setNext(DoubleNode<K,V> next)
next
- the next to setpublic WeakReference<K> getWeakKey()
public V getValue()
public K getHardenedKey()
public void setHardenedKey(K hardenedKey)
hardenedKey
- the hardenedKey to setCopyright © 2009-2017, Oracle and/or its affiliates. All Rights Reserved.