public abstract class LinkedChild extends Object implements Cloneable, Serializable
LinkedChild
is the child of a LinkedVector
. LinkedVector
s use the methods of this interface to maintain links between parent and child.LinkedVector
,
Serialized FormModifier and Type | Field and Description |
---|---|
int |
end
The offset into the raw data input file at which this child ends.
|
String |
label
Space for a label for this linked child.
|
LinkedChild |
next
A link to the next child in the parent vector.
|
LinkedVector |
parent
A link to this child's parent.
|
LinkedChild |
previous
A link to the previous child in the parent vector.
|
int |
start
The offset into the raw data input file at which this child starts.
|
Modifier | Constructor and Description |
---|---|
protected |
LinkedChild()
Does nothing.
|
|
LinkedChild(int s,
int e)
Constructor that sets the byte offsets of this child.
|
protected |
LinkedChild(LinkedChild p)
Useful when the information that this child represents is parsed forwards.
|
|
LinkedChild(LinkedChild p,
int s,
int e)
Useful when the information that this child represents is parsed forwards.
|
public LinkedVector parent
public LinkedChild previous
public LinkedChild next
public int start
public int end
public String label
protected LinkedChild()
protected LinkedChild(LinkedChild p)
p
- The previous child in the parent vector.public LinkedChild(int s, int e)
s
- The offset at which this child starts.e
- The offset at which this child ends.public LinkedChild(LinkedChild p, int s, int e)
p
- The previous child in the parent vector.s
- The offset at which this child starts.e
- The offset at which this child ends.Copyright © 2016. All rights reserved.