Class ListUtil.ListNode<V>

java.lang.Object
org.drip.service.common.ListUtil.ListNode<V>
Enclosing class:
ListUtil<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 Node
    boolean setNext​(ListUtil.ListNode<V> next)
    Set the Next Node
    boolean setValue​(V value)
    Set the Node Value
    V value()
    Retrieve the Node Value

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ListNode

      public ListNode​(V value, ListUtil.ListNode<V> next)
      ListNode Constructor
      Parameters:
      value - Node Value
      next - Next Node
  • Method Details

    • value

      public V value()
      Retrieve the Node Value
      Returns:
      The Node Value
    • next

      public ListUtil.ListNode<V> next()
      Retrieve the Next Node
      Returns:
      The Next Node
    • setNext

      public boolean setNext​(ListUtil.ListNode<V> next)
      Set the Next Node
      Parameters:
      next - The Next Node
      Returns:
      TRUE - The Next Node successfully set
    • setValue

      public boolean setValue​(V value)
      Set the Node Value
      Parameters:
      value - The Node Value
      Returns:
      TRUE - The Node Value successfully set