Class LinkedNode

java.lang.Object
org.scictrl.mp.orbitcorrect.accessories.LinkedNode

public class LinkedNode extends Object

LinkedNode class.

Author:
igor@scictrl.com
  • Constructor Details

    • LinkedNode

      public LinkedNode(Object o)
      LinkedNode constructor comment.
      Parameters:
      o - a Object object
  • Method Details

    • add

      public LinkedNode add(Object o)
      Adds new nod after this node.
      Parameters:
      o - java.lang.Object
      Returns:
      LinkedNode new node
    • first

      public LinkedNode first()

      first.

      Returns:
      LinkedNode
    • get

      public Object get()

      get.

      Returns:
      java.lang.Object
    • hasNext

      public boolean hasNext()

      hasNext.

      Returns:
      boolean
    • hasPrevious

      public boolean hasPrevious()

      hasPrevious.

      Returns:
      boolean
    • insert

      public LinkedNode insert(Object o)
      Inserts new node before this node.
      Parameters:
      o - java.lang.Object
      Returns:
      LinkedNode new node
    • last

      public LinkedNode last()

      last.

      Returns:
      LinkedNode
    • next

      public LinkedNode next()

      next.

      Returns:
      LinkedNode
    • previous

      public LinkedNode previous()

      previous.

      Returns:
      LinkedNode
    • remove

      public LinkedNode remove(Object o)

      remove.

      Parameters:
      o - java.lang.Object
      Returns:
      boolean
    • size

      public int size()

      size.

      Returns:
      int
    • toArray

      public Object[] toArray()

      toArray.

      Returns:
      java.lang.Object[]