Module org.glassfish.hk2.utilities
Class DoubleNode<K,V>
java.lang.Object
org.glassfish.hk2.utilities.general.internal.DoubleNode<K,V>
- Type Parameters:
K- keyV- value
Used for doubly linked lists with weak keys
- Author:
- jwells
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDoubleNode<K,V> getNext()DoubleNode<K,V> getValue()voidsetHardenedKey(K hardenedKey) voidsetNext(DoubleNode<K, V> next) voidsetPrevious(DoubleNode<K, V> previous)
-
Constructor Details
-
DoubleNode
-
-
Method Details
-
getPrevious
- Returns:
- the previous
-
setPrevious
- Parameters:
previous- the previous to set
-
getNext
- Returns:
- the next
-
setNext
- Parameters:
next- the next to set
-
getWeakKey
- Returns:
- the weakKey
-
getValue
- Returns:
- the value
-
getHardenedKey
- Returns:
- the hardenedKey
-
setHardenedKey
- Parameters:
hardenedKey- the hardenedKey to set
-