public final class BooleanArray_Type extends CommonArray_Type
| Modifier and Type | Field and Description |
|---|---|
static int |
typeIndexID
this types ID - used to index a localTypeArray in JCas to get an index which indexes the global
typeArray in JCas instance to get a ref to this instance
|
casImpl, casType, casTypeCode, instanceOf_Type, jcas, ll_cas, lowLevelArrayBoundChecks, lowLevelTypeChecks, useExistingInstance| Constructor and Description |
|---|
BooleanArray_Type(JCas jcas,
Type casType) |
| Modifier and Type | Method and Description |
|---|---|
void |
copyFromArray(int addr,
boolean[] src,
int srcOffset,
int destOffset,
int length) |
void |
copyToArray(int addr,
int srcOffset,
boolean[] dest,
int destOffset,
int length) |
boolean |
get(int addr,
int i)
return the indexed value from the corresponding Cas StringArray as a Java String.
|
protected FSGenerator |
getFSGenerator() |
void |
set(int addr,
int i,
boolean v)
updates the Cas, setting the indexed value to the passed in Java String value.
|
boolean[] |
toArray(int addr) |
sizeaddToIndexes, checkType, getTypeIndexID, invalidTypeArg, noObjCreate, removeFromIndexespublic static final int typeIndexID
protected FSGenerator getFSGenerator()
getFSGenerator in class TOP_Typepublic boolean get(int addr,
int i)
BooleanArrayFS.get(int)public void set(int addr,
int i,
boolean v)
BooleanArrayFS.set(int, boolean)public void copyFromArray(int addr,
boolean[] src,
int srcOffset,
int destOffset,
int length)
public void copyToArray(int addr,
int srcOffset,
boolean[] dest,
int destOffset,
int length)
public boolean[] toArray(int addr)
BooleanArrayFS.toArray()Copyright © 2013. All Rights Reserved.