public final class LongArray_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 |
---|
LongArray_Type(JCas jcas,
Type casType) |
Modifier and Type | Method and Description |
---|---|
void |
copyFromArray(int addr,
long[] src,
int srcOffset,
int destOffset,
int length) |
void |
copyToArray(int addr,
int srcOffset,
long[] dest,
int destOffset,
int length) |
long |
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,
long v)
updates the Cas, setting the indexed value to the passed in Java String value.
|
long[] |
toArray(int addr) |
size
addToIndexes, checkType, getTypeIndexID, invalidTypeArg, noObjCreate, removeFromIndexes
public static final int typeIndexID
protected FSGenerator getFSGenerator()
getFSGenerator
in class TOP_Type
public long get(int addr, int i)
LongArrayFS.get(int)
public void set(int addr, int i, long v)
LongArrayFS.set(int, long)
public void copyFromArray(int addr, long[] src, int srcOffset, int destOffset, int length)
public void copyToArray(int addr, int srcOffset, long[] dest, int destOffset, int length)
public long[] toArray(int addr)
LongArrayFS.toArray()
Copyright © 2012. All Rights Reserved.