Class ByteArrayList.Node
java.lang.Object
org.apache.mina.util.byteaccess.ByteArrayList.Node
- Enclosing class:
ByteArrayList
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 Summary
FieldsModifier and TypeFieldDescriptionprivate ByteArrayThe ByteArray contained within this nodeprivate ByteArrayList.NodeA pointer to the node after this nodeprivate ByteArrayList.NodeA pointer to the node before this nodeprivate boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the next node.Gets the previous node.booleanbooleanboolean
-
Field Details
-
previous
A pointer to the node before this node -
next
A pointer to the node after this node -
ba
The ByteArray contained within this node -
removed
private boolean removed
-
-
Constructor Details
-
Node
private Node()Constructs a new header node. -
Node
Constructs a new node with a value.
-
-
Method Details
-
getPreviousNode
-
getNextNode
-
hasPreviousNode
public boolean hasPreviousNode() -
hasNextNode
public boolean hasNextNode() -
getByteArray
-
isRemoved
public boolean isRemoved()
-