public final class NdLinkedList<T>
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
NdLinkedList.ILinkedListVisitor<T> |
| Constructor and Description |
|---|
NdLinkedList(Nd nd,
long address,
ITypeFactory<T> elementFactory,
int recordsInFirstBlock,
int recordsInSubsequentBlocks) |
NdLinkedList(Nd nd,
long address,
ITypeFactory<T> elementFactory,
int recordsInFirstBlock,
int recordsInSubsequentBlocks,
int metadataBitsPerElement) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(NdLinkedList.ILinkedListVisitor<T> visitor) |
T |
addMember(short metadataBits) |
protected void |
destruct() |
static <T> ITypeFactory<NdLinkedList<T>> |
getFactoryFor(ITypeFactory<T> elementFactory,
int recordsInFirstBlock,
int recordsInSubsequentBlocks) |
static <T> ITypeFactory<NdLinkedList<T>> |
getFactoryFor(ITypeFactory<T> elementFactory,
int recordsInFirstBlock,
int recordsInSubsequentBlocks,
int metadataBitsPerElement) |
int |
size()
Computes the size of this list.
|
public NdLinkedList(Nd nd, long address, ITypeFactory<T> elementFactory, int recordsInFirstBlock, int recordsInSubsequentBlocks)
public NdLinkedList(Nd nd, long address, ITypeFactory<T> elementFactory, int recordsInFirstBlock, int recordsInSubsequentBlocks, int metadataBitsPerElement)
public int size()
throws IndexException
IndexExceptionpublic T addMember(short metadataBits) throws IndexException
IndexExceptionpublic void accept(NdLinkedList.ILinkedListVisitor<T> visitor) throws IndexException
IndexExceptionpublic static <T> ITypeFactory<NdLinkedList<T>> getFactoryFor(ITypeFactory<T> elementFactory, int recordsInFirstBlock, int recordsInSubsequentBlocks)
public static <T> ITypeFactory<NdLinkedList<T>> getFactoryFor(ITypeFactory<T> elementFactory, int recordsInFirstBlock, int recordsInSubsequentBlocks, int metadataBitsPerElement)
protected void destruct()