Class IVDoubleArray

All Implemented Interfaces:
Alarm, Array, Display, Time, VDoubleArray, VNumberArray, VType

public class IVDoubleArray extends IVNumberArray implements VDoubleArray
  • Constructor Details

  • Method Details

    • getData

      public ListDouble 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
      Specified by:
      getData in interface VDoubleArray
      Specified by:
      getData in interface VNumberArray
      Returns:
      the array data