public abstract class Node extends Node
Objects of this class should not be created directly as they are part of the internal logic.
| Modifier and Type | Field and Description |
|---|---|
protected NodeNumericIndex[] |
numericChildren |
protected int |
numericChildrenPosition
The position in the data set where the NumericChildren start.
|
protected Pool |
pool
Pool used to load NumericChildren and RankedSignatureIndexes.
|
children, childrenCount, nextCharacterPosition, NODE_INDEX_LENGTH, NODE_NUMERIC_INDEX_LENGTH, nodeStartStreamPosition, numericChildrenCount, position, rankedSignatureCountdataSet, index| Constructor and Description |
|---|
Node(Dataset dataSet,
int offset,
BinaryReader reader)
Constructs a new instance of Node.
|
| Modifier and Type | Method and Description |
|---|---|
NodeNumericIndex[] |
getNumericChildren()
An array of all the numeric children.
|
addCharacters, compareTo, getCharacters, getChildrenLength, getCompleteNode, getCompleteNumericNode, getIsOverlap, getLength, getNumericChildrenLength, getRankedSignatureIndexes, getRoot, init, readNodeNumericIndexes, toStringcompareTo, compareTo, getDataSet, getIndex, getIsNumeric, getNumber, readIntegerArrayprotected int numericChildrenPosition
protected final Pool pool
protected volatile NodeNumericIndex[] numericChildren
public Node(Dataset dataSet, int offset, BinaryReader reader) throws IOException
dataSet - The data set the node is contained within.offset - The offset in the data structure to the node.reader - Reader connected to the source data structure and
positioned to start reading.IOException - if there was a problem accessing data file.public final NodeNumericIndex[] getNumericChildren() throws IOException
getNumericChildren in class NodeIOException - if there was a problem accessing data file.Copyright © 2015 51Degrees. All rights reserved.