public final class DoubleArray_Type extends CommonArray_Type
| Modifier and Type | Field and Description | 
|---|---|
| static int | typeIndexIDthis 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 | 
|---|
| DoubleArray_Type(JCas jcas,
                Type casType) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | copyFromArray(int addr,
             double[] src,
             int srcOffset,
             int destOffset,
             int length) | 
| void | copyToArray(int addr,
           int srcOffset,
           double[] dest,
           int destOffset,
           int length) | 
| double | get(int addr,
   int i)return the indexed value from the corresponding Cas DoubleArray as a Java double. | 
| protected org.apache.uima.cas.impl.FSGenerator<?> | getFSGenerator() | 
| void | set(int addr,
   int i,
   double v)updates the Cas, setting the indexed value to the passed in Java double value. | 
| double[] | toArray(int addr) | 
sizeaddToIndexes, checkType, getTypeIndexID, invalidTypeArg, noObjCreate, removeFromIndexespublic static final int typeIndexID
protected org.apache.uima.cas.impl.FSGenerator<?> getFSGenerator()
getFSGenerator in class TOP_Typepublic double get(int addr,
                  int i)
addr - low level CAS FS referencei - the indexpublic void set(int addr,
                int i,
                double v)
addr - low level CAS FS referencei - the indexv - the valueDoubleArrayFS.set(int, double)public void copyFromArray(int addr,
                          double[] src,
                          int srcOffset,
                          int destOffset,
                          int length)
addr - low level CAS Feature Structure reference for the destinationsrc - the source array to copy fromsrcOffset - the source offsetdestOffset - the destination offsetlength - the number of items to copyDoubleArrayFS.copyFromArray(double[], int, int, int)public void copyToArray(int addr,
                        int srcOffset,
                        double[] dest,
                        int destOffset,
                        int length)
addr - the low level CAS Feature Structure reference for the sourcesrcOffset - the source offsetdest - the destination to copy intodestOffset - the destination offsetlength - the number of items to copyDoubleArrayFS.copyToArray(int, double[], int, int)public double[] toArray(int addr)
addr - the low level CAS Feature Structure reference to copy fromDoubleArrayFS.toArray()Copyright © 2006–2017 The Apache Software Foundation. All rights reserved.