public abstract class CommonAuxArrayFSImpl extends FeatureStructureImplC
addr, casImpl
Modifier | Constructor and Description |
---|---|
protected |
CommonAuxArrayFSImpl() |
protected |
CommonAuxArrayFSImpl(CASImpl cas,
int addr) |
Modifier and Type | Method and Description |
---|---|
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
|
abstract void |
copyToArray(int srcOffset,
String[] dest,
int destOffset,
int length) |
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
|
int |
size() |
protected Object |
toArray(Object casAuxHeap) |
String[] |
toStringArray() |
equals, getAddress, getCAS, getCASImpl, hashCode
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
protected CommonAuxArrayFSImpl()
protected CommonAuxArrayFSImpl(CASImpl cas, int addr)
public int size()
ArrayFS.size()
protected void copyFromJavaArray(Object src, int srcOffset, Object casAuxHeap, int tgtOffset, int length)
src
- -srcOffset
- -casAuxHeap
- -tgtOffset
- -length
- -protected void copyToJavaArray(Object casAuxHeap, int srcOffset, Object tgt, int tgtOffset, int length)
casAuxHeap
- -srcOffset
- -tgt
- -tgtOffset
- -length
- -protected Object toArray(Object casAuxHeap)
casAuxHeap
- -ArrayFS.toArray()
public abstract void copyToArray(int srcOffset, String[] dest, int destOffset, int length)
public String[] toStringArray()
Copyright © 2006–2021 The Apache Software Foundation. All rights reserved.