Interface VNumberArray

All Superinterfaces:
Alarm, Array, Display, Time, VType
All Known Subinterfaces:
VByteArray, VDoubleArray, VFloatArray, VIntArray, VLongArray, VShortArray
All Known Implementing Classes:
DoubleArrayVType, FloatArrayVType, IVByteArray, IVDoubleArray, IVFloatArray, IVIntArray, IVLongArray, IVNumberArray, IVShortArray, Sint32ArrayVType, Sint64ArrayVType, Uint32ArrayVType, Uint64ArrayVType

public interface VNumberArray extends Array, Alarm, Time, Display, VType
Numeric array with alarm, timestamp, display and control information.

This class allows to use any numeric array (i.e. VIntArray or VDoubleArray) through the same interface.

  • Method Details

    • getData

      ListNumber 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
    • getDimensionDisplay

      List<ArrayDimensionDisplay> getDimensionDisplay()
      Returns the boundaries of each cell.
      Returns:
      the dimension display; can't be null