Class ByteArrayList.Node

java.lang.Object
org.apache.mina.util.byteaccess.ByteArrayList.Node
Enclosing class:
ByteArrayList

public class ByteArrayList.Node extends Object
A node within the linked list.

From Commons Collections 3.1, all access to the value property is via the methods on this class.

  • Field Details

    • previous

      private ByteArrayList.Node previous
      A pointer to the node before this node
    • next

      private ByteArrayList.Node next
      A pointer to the node after this node
    • ba

      private ByteArray ba
      The ByteArray contained within this node
    • removed

      private boolean removed
  • Constructor Details

    • Node

      private Node()
      Constructs a new header node.
    • Node

      private Node(ByteArray ba)
      Constructs a new node with a value.
  • Method Details

    • getPreviousNode

      public ByteArrayList.Node getPreviousNode()
      Gets the previous node.
      Returns:
      the previous node
    • getNextNode

      public ByteArrayList.Node getNextNode()
      Gets the next node.
      Returns:
      the next node
    • hasPreviousNode

      public boolean hasPreviousNode()
    • hasNextNode

      public boolean hasNextNode()
    • getByteArray

      public ByteArray getByteArray()
    • isRemoved

      public boolean isRemoved()