public class Pair
extends TOP
Modifier and Type | Field and Description |
---|---|
static int |
type |
static int |
typeIndexID |
Modifier | Constructor and Description |
---|---|
protected |
Pair()
Never called.
|
|
Pair(int addr,
TOP_Type type)
Internal - constructor used by generator
|
|
Pair(JCas jcas) |
Modifier and Type | Method and Description |
---|---|
TOP |
getP1()
getter for p1 - gets
|
TOP |
getP2()
getter for p2 - gets
|
int |
getTypeIndexID() |
private void |
readObject()
Write your own initialization here
|
void |
setP1(TOP v)
setter for p1 - sets
|
void |
setP2(TOP v)
setter for p2 - sets
|
protected Pair()
public Pair(int addr, TOP_Type type)
addr
- low level Feature Structure referencetype
- the type of this Feature Structurepublic Pair(JCas jcas)
jcas
- JCas to which this Feature Structure belongspublic int getTypeIndexID()
private void readObject()
public TOP getP1()
public void setP1(TOP v)
v
- value to set into the featurepublic TOP getP2()
public void setP2(TOP v)
v
- value to set into the feature