Package org.drip.service.common
Class ListUtil.ListNode<V>
java.lang.Object
org.drip.service.common.ListUtil.ListNode<V>
public static class ListUtil.ListNode<V>
extends java.lang.Object
ListNode inside of ListUtil.
-
Constructor Summary
Constructors Constructor Description ListNode(V value, ListUtil.ListNode<V> next)
ListNode Constructor -
Method Summary
Modifier and Type Method Description ListUtil.ListNode<V>
next()
Retrieve the Next Nodeboolean
setNext(ListUtil.ListNode<V> next)
Set the Next Nodeboolean
setValue(V value)
Set the Node ValueV
value()
Retrieve the Node ValueMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ListNode
ListNode Constructor- Parameters:
value
- Node Valuenext
- Next Node
-
-
Method Details
-
value
Retrieve the Node Value- Returns:
- The Node Value
-
next
Retrieve the Next Node- Returns:
- The Next Node
-
setNext
Set the Next Node- Parameters:
next
- The Next Node- Returns:
- TRUE - The Next Node successfully set
-
setValue
Set the Node Value- Parameters:
value
- The Node Value- Returns:
- TRUE - The Node Value successfully set
-