Class IVByteArray

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

public class IVByteArray extends IVNumberArray implements VByteArray
  • Constructor Details

  • Method Details

    • getData

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