public class NodeFactoryShared extends Object
Objects of this class should not be created directly as they are part of the internal logic.
| Constructor and Description |
|---|
NodeFactoryShared() |
| Modifier and Type | Method and Description |
|---|---|
static int |
getNodeIndexLengthV31()
Returns the The length of a node index in V3.1 format data.
|
static int |
getNodeIndexLengthV32()
Returns the length of a node index in V3.2 format data.
|
static NodeIndex[] |
readNodeIndexesV31(Dataset dataSet,
BinaryReader reader,
int offset,
int count)
Used by the constructor to read the variable length list of child
node indexes associated with the node in V3.1 format.
|
static NodeIndex[] |
readNodeIndexesV32(Dataset dataSet,
BinaryReader reader,
int offset,
int count)
Used by the constructor to read the variable length list of child
node indexes associated with the node in V3.2 format.
|
public static int getNodeIndexLengthV31()
public static int getNodeIndexLengthV32()
public static NodeIndex[] readNodeIndexesV31(Dataset dataSet, BinaryReader reader, int offset, int count)
dataSet - The data set the node is contained within.reader - Reader connected to the source data structure and
positioned to start reading.offset - The offset in the data structure to the node.count - The number of node indexes that need to be read.public static NodeIndex[] readNodeIndexesV32(Dataset dataSet, BinaryReader reader, int offset, int count)
dataSet - The data set the node is contained within.reader - Reader connected to the source data structure and
positioned to start reading.offset - The offset in the data structure to the node.count - The number of node indexes that need to be read.Copyright © 2015 51Degrees. All rights reserved.