public class ByteArrayList.Node
extends java.lang.Object
From Commons Collections 3.1, all access to the value property
is via the methods on this class.
| Modifier and Type | Field and Description |
|---|---|
private ByteArray |
ba
The ByteArray contained within this node
|
private ByteArrayList.Node |
next
A pointer to the node after this node
|
private ByteArrayList.Node |
previous
A pointer to the node before this node
|
private boolean |
removed |
| Modifier | Constructor and Description |
|---|---|
private |
Node()
Constructs a new header node.
|
private |
Node(ByteArray ba)
Constructs a new node with a value.
|
| Modifier and Type | Method and Description |
|---|---|
ByteArray |
getByteArray() |
ByteArrayList.Node |
getNextNode()
Gets the next node.
|
ByteArrayList.Node |
getPreviousNode()
Gets the previous node.
|
boolean |
hasNextNode() |
boolean |
hasPreviousNode() |
boolean |
isRemoved() |
private ByteArrayList.Node previous
private ByteArrayList.Node next
private ByteArray ba
private boolean removed
private Node()
private Node(ByteArray ba)
public ByteArrayList.Node getPreviousNode()
public ByteArrayList.Node getNextNode()
public boolean hasPreviousNode()
public boolean hasNextNode()
public ByteArray getByteArray()
public boolean isRemoved()