Package org.yamcs.studio.data.vtype
Interface VNumberArray
- 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
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 Summary
Modifier and TypeMethodDescriptiongetData()
Return the object containing the array data.Returns the boundaries of each cell.Methods inherited from interface org.yamcs.studio.data.vtype.Alarm
getAlarmName, getAlarmSeverity
Methods inherited from interface org.yamcs.studio.data.vtype.Display
getFormat, getLowerAlarmLimit, getLowerCtrlLimit, getLowerDisplayLimit, getLowerWarningLimit, getUnits, getUpperAlarmLimit, getUpperCtrlLimit, getUpperDisplayLimit, getUpperWarningLimit
Methods inherited from interface org.yamcs.studio.data.vtype.Time
getTimestamp, getTimeUserTag, isTimeValid
-
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 aListNumber
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
. -
getDimensionDisplay
List<ArrayDimensionDisplay> getDimensionDisplay()Returns the boundaries of each cell.- Returns:
- the dimension display; can't be null
-