public class Pairs_Type
extends TOP_Type
Modifier and Type | Field and Description |
---|---|
(package private) Feature |
casFeat_pairs |
(package private) int |
casFeatCode_pairs |
static boolean |
featOkTst |
private FSGenerator |
fsGenerator |
static int |
typeIndexID |
Constructor and Description |
---|
Pairs_Type(JCas jcas,
Type casType)
initialize variables to correspond with Cas Type and Features
|
Modifier and Type | Method and Description |
---|---|
protected FSGenerator |
getFSGenerator() |
int |
getPairs(int addr) |
int |
getPairs(int addr,
int i) |
void |
setPairs(int addr,
int v) |
void |
setPairs(int addr,
int i,
int v) |
private final FSGenerator fsGenerator
public static final int typeIndexID
public static final boolean featOkTst
final Feature casFeat_pairs
final int casFeatCode_pairs
public Pairs_Type(JCas jcas, Type casType)
jcas
- JCascasType
- Typeprotected FSGenerator getFSGenerator()
public int getPairs(int addr)
addr
- low level Feature Structure referencepublic void setPairs(int addr, int v)
addr
- low level Feature Structure referencev
- value to setpublic int getPairs(int addr, int i)
addr
- low level Feature Structure referencei
- index of item in the arraypublic void setPairs(int addr, int i, int v)
addr
- low level Feature Structure referencei
- index of item in the arrayv
- value to set