Interface VEnumArray

All Superinterfaces:
Alarm, Array, Enum, Time, VType
All Known Implementing Classes:
EnumeratedArrayVType, IVEnumArray

public interface VEnumArray extends Array, Enum, Alarm, Time, VType
  • Method Details

    • getData

      List<String> getData()
      Description copied from interface: Array
      Return the object containing the array data.

      This method will either return a List or a ListNumber depending of the array type. A collection is returned, instead of an array, so that the type implementation can be immutable or can at least try to prevent modifications. ListNumber has also several advantages over the Java arrays, including the ability to iterate the list regardless of numeric type.

      If a numeric array is actually needed, refer to CollectionNumbers.

      Specified by:
      getData in interface Array
      Returns:
      the array data
    • getIndexes

      ListInt getIndexes()
      Returns the indexes instead of the labels.
      Returns:
      an array of indexes