Package org.yamcs.studio.data.vtype
Interface VEnumArray
- All Known Implementing Classes:
EnumeratedArrayVType
,IVEnumArray
-
Method Summary
Modifier and TypeMethodDescriptiongetData()
Return the object containing the array data.Returns the indexes instead of the labels.Methods inherited from interface org.yamcs.studio.data.vtype.Alarm
getAlarmName, getAlarmSeverity
Methods inherited from interface org.yamcs.studio.data.vtype.Time
getTimestamp, getTimeUserTag, isTimeValid
-
Method Details
-
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
. -
getIndexes
ListInt getIndexes()Returns the indexes instead of the labels.- Returns:
- an array of indexes
-