public interface StringArrayFS extends CommonArrayFS<String>
CAS.createStringArrayFS(int) or new
StringArray(aJCas, length)| Modifier and Type | Method and Description |
|---|---|
String |
get(int i)
Get the i-th string from the array.
|
void |
set(int i,
String str)
Set the i-th value.
|
String[] |
toArray()
Creates a new array the this array is copied to.
|
copyFromArray, copyToArray, copyValuesFrom, getValuesAsCommaSeparatedString, isEmpty, size, toStringArray_getTypeCode, _id, clone, equals, getAddress, getBooleanValue, getByteValue, getCAS, getDoubleValue, getFeatureValue, getFeatureValueAsString, getFloatValue, getIntValue, getJCas, getLongValue, getShortValue, getStringValue, getType, hashCode, setBooleanValue, setByteValue, setDoubleValue, setFeatureValue, setFeatureValueFromString, setFloatValue, setIntValue, setLongValue, setShortValue, setStringValueString get(int i) throws ArrayIndexOutOfBoundsException
i - the indexArrayIndexOutOfBoundsException - If the index is out of bounds.void set(int i,
String str)
throws ArrayIndexOutOfBoundsException
i - The index.str - The value.ArrayIndexOutOfBoundsException - If i is out of bounds.String[] toArray()
Copyright © 2006–2022 The Apache Software Foundation. All rights reserved.