Class ByteArrayList.Node

  • Enclosing class:
    ByteArrayList

    public class ByteArrayList.Node
    extends java.lang.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 Detail

      • ba

        private ByteArray ba
        The ByteArray contained within this node
      • removed

        private boolean removed
    • Constructor Detail

      • Node

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

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

      • 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()