org.apache.uima.jcas.cas

## Interface CommonPrimitiveArray<T>

- All Superinterfaces:
    Cloneable, CommonArrayFS<T>, FeatureStructure
  All Known Implementing Classes:
    BooleanArray, ByteArray, DoubleArray, FloatArray, IntegerArray, LongArray, ShortArray, StringArray

      public interface CommonPrimitiveArray<T>
      extends CommonArrayFS<T>

  This interface is implemented by arrays of non-FeatureStructure components boolean, byte, short, int, long, float, double, String, JavaObject Internal Use Only.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `setArrayValueFromString(int i, String v)` Internal Use Only.

    - ### Methods inherited from interface org.apache.uima.cas.CommonArrayFS

      `copyFromArray, copyToArray, copyValuesFrom, getValuesAsCommaSeparatedString, isEmpty, size, toStringArray`

    - ### Methods 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 Detail

    - #### setArrayValueFromString

          void setArrayValueFromString(int i,
                                       String v)

      Internal Use Only. Set an array value from a string representation NOTE: does **not** log the change for delta cas; this should only be used by internal deserializers
      Parameters:
        `i` - the index
        `v` - the value to set at the above index

Copyright © 2006–2022 The Apache Software Foundation. All rights reserved.