Package org.apache.uima.cas_data
Interface PrimitiveArrayFS
- All Superinterfaces:
- FeatureStructure,- Serializable
- All Known Implementing Classes:
- PrimitiveArrayFSImpl
A subtype of FeatureStructure that represents an array of primitive values (Strings, int, or
 floats).
- 
Method SummaryMethods inherited from interface org.apache.uima.cas_data.FeatureStructuregetFeatureNames, getFeatureValue, getId, getIndexed, getType, isIndexed, setFeatureValue, setId, setIndexed, setIndexed, setType
- 
Method Details- 
sizeint size()Get the size of this array.- Returns:
- the size
 
- 
toIntArrayint[] toIntArray()Gets this value as an integer array.- Returns:
- integer array value, empty array if value is not an array
 
- 
toFloatArrayfloat[] toFloatArray()Gets this value as an float array.- Returns:
- float array value, empty array if value is not an array
 
- 
toStringArrayString[] toStringArray()Gets this value as an string array.- Returns:
- string array value, empty array if value is not an array
 
 
-