Package org.apache.uima.cas.impl
Class CommonAuxArrayFSImpl
java.lang.Object
org.apache.uima.cas.impl.FeatureStructureImpl
org.apache.uima.cas.impl.FeatureStructureImplC
org.apache.uima.cas.impl.CommonAuxArrayFSImpl
- All Implemented Interfaces:
Cloneable,FeatureStructure
- Direct Known Subclasses:
BooleanArrayFSImpl,ByteArrayFSImpl,DoubleArrayFSImpl,LongArrayFSImpl,ShortArrayFSImpl
Common part of array impl for those arrays of primitives which use auxilliary heaps. Is a super
class to those.
-
Field Summary
Fields inherited from class org.apache.uima.cas.impl.FeatureStructureImplC
addr, casImpl -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcopyFromJavaArray(Object src, int srcOffset, Object casAuxHeap, int tgtOffset, int length) copyFromArray - only works for things where the src and tgt are the same underlying type (long and byte) src = external java object, tgt = internal CAS Aux heapabstract voidcopyToArray(int srcOffset, String[] dest, int destOffset, int length) protected voidcopyToJavaArray(Object casAuxHeap, int srcOffset, Object tgt, int tgtOffset, int length) copyFromArray - only works for things where the src and tgt are the same underlying type (long and byte) src = internal CAS Aux heap, tgt = external java objectintsize()protected ObjectString[]Methods inherited from class org.apache.uima.cas.impl.FeatureStructureImplC
equals, getAddress, getCAS, getCASImpl, hashCodeMethods inherited from class org.apache.uima.cas.impl.FeatureStructureImpl
clone, getavoidcollisionTypeCode, getBooleanValue, getByteValue, getDoubleValue, getFeatureValue, getFeatureValueAsString, getFloatValue, getIntValue, getLongValue, getShortValue, getStringValue, getType, prettyPrint, prettyPrint, prettyPrint, setBooleanValue, setByteValue, setDoubleValue, setFeatureValue, setFeatureValueFromString, setFloatValue, setIntValue, setLongValue, setShortValue, setStringValue, toString, toString
-
Constructor Details
-
CommonAuxArrayFSImpl
protected CommonAuxArrayFSImpl() -
CommonAuxArrayFSImpl
-
-
Method Details
-
size
public int size()- Returns:
- -
- See Also:
-
copyFromJavaArray
protected void copyFromJavaArray(Object src, int srcOffset, Object casAuxHeap, int tgtOffset, int length) copyFromArray - only works for things where the src and tgt are the same underlying type (long and byte) src = external java object, tgt = internal CAS Aux heap- Parameters:
src- -srcOffset- -casAuxHeap- -tgtOffset- -length- -
-
copyToJavaArray
protected void copyToJavaArray(Object casAuxHeap, int srcOffset, Object tgt, int tgtOffset, int length) copyFromArray - only works for things where the src and tgt are the same underlying type (long and byte) src = internal CAS Aux heap, tgt = external java object- Parameters:
casAuxHeap- -srcOffset- -tgt- -tgtOffset- -length- -
-
toArray
- Parameters:
casAuxHeap- -- Returns:
- -
- See Also:
-
copyToArray
-
toStringArray
-