Package org.apache.uima.cas
Interface StringArrayFS
- All Superinterfaces:
- Cloneable,- CommonArrayFS<String>,- FeatureStructure
- All Known Subinterfaces:
- StringArrayFSImpl
- All Known Implementing Classes:
- StringArray
String array interface. To create a string array object, use
 
CAS.createStringArrayFS(int) or new
 StringArray(aJCas, length)- 
Method SummaryMethods inherited from interface org.apache.uima.cas.CommonArrayFScopyFromArray, copyToArray, copyValuesFrom, getValuesAsCommaSeparatedString, isEmpty, size, toStringArrayMethods inherited from interface org.apache.uima.cas.FeatureStructure_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, setStringValue
- 
Method Details- 
getGet the i-th string from the array.- Parameters:
- i- the index
- Returns:
- The i-th element.
- Throws:
- ArrayIndexOutOfBoundsException- If the index is out of bounds.
 
- 
setSet the i-th value.- Parameters:
- i- The index.
- str- The value.
- Throws:
- ArrayIndexOutOfBoundsException- If- iis out of bounds.
 
- 
toArrayString[] toArray()Creates a new array the this array is copied to.- Returns:
- A Java array copy of this FS array.
 
 
-