public final class ANodeList extends ObjectList<ANode,ANodeList>
list
factor, size
Constructor and Description |
---|
ANodeList()
Constructor.
|
ANodeList(long capacity)
Constructor with initial capacity.
|
Modifier and Type | Method and Description |
---|---|
ANodeList |
clean()
Invalidates all entries that are not referenced in the list.
|
boolean |
equals(ANode node1,
ANode node2)
Compares two list elements.
|
boolean |
equals(Object obj) |
BasicNodeIter |
iter()
Returns an iterator over the items in this list.
|
protected ANode[] |
newArray(int s)
Creates a resized array.
|
add, add, add, addUnique, contains, finish, get, insert, iterator, next, peek, pop, push, remove, removeAll, removeAll, set, sort, toArray, toString, unique
isEmpty, newCapacity, newCapacity, reset, size, size
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
public ANodeList()
public ANodeList(long capacity)
capacity
- array capacitypublic BasicNodeIter iter()
public ANodeList clean()
public boolean equals(ANode node1, ANode node2)
ObjectList
equals
in class ObjectList<ANode,ANodeList>
node1
- first elementnode2
- second elementprotected ANode[] newArray(int s)
ObjectList
newArray
in class ObjectList<ANode,ANodeList>
s
- sizepublic boolean equals(Object obj)
equals
in class ObjectList<ANode,ANodeList>
Copyright © 2005–2023 BaseX Team. All rights reserved.