Package | Description |
---|---|
edu.illinois.cs.cogcomp.lbjava.parse |
Modifier and Type | Class and Description |
---|---|
class |
LinkedVector
A
LinkedVector is used to store a vector of LinkedChild ren which all
maintain links between each other and the parent LinkedVector . |
Modifier and Type | Field and Description |
---|---|
LinkedChild |
LinkedChild.next
A link to the next child in the parent vector.
|
protected LinkedChild |
ChildrenFromVectors.next
The next child to be returned.
|
LinkedChild |
LinkedChild.previous
A link to the previous child in the parent vector.
|
Modifier and Type | Method and Description |
---|---|
LinkedChild |
LinkedVector.get(int i)
Retrieves the child at the specified index in the vector.
|
LinkedChild |
LinkedVector.remove(int i)
Removes the child at the specified index.
|
Modifier and Type | Method and Description |
---|---|
boolean |
LinkedVector.add(LinkedChild c)
Adds the specified child to the end of the vector, informing the child of its parent and
index and linking the child to its only neighbor (which was previously the last child in the
vector).
|
boolean |
LinkedVector.insert(LinkedChild c,
int i)
Inserts the specified child into the specified index.
|
Constructor and Description |
---|
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.
|
LinkedVector(LinkedChild c)
Constructor for when only a single child from anywhere in this vector is available.
|
LinkedVector(LinkedChild c,
int s,
int e)
Constructor for when only a single child from anywhere in this vector is available.
|
Copyright © 2016. All rights reserved.