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 NodebooleansetNext(ListUtil.ListNode<V> next)Set the Next NodebooleansetValue(V value)Set the Node ValueVvalue()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
-