public abstract class VNumberArray extends Array
This class allows to use any numeric array (i.e. VIntArray
or
VDoubleArray
) through the same interface.
Constructor and Description |
---|
VNumberArray() |
Modifier and Type | Method and Description |
---|---|
static VNumberArray |
create(ListNumber data,
Alarm alarm,
Time time,
Display display)
Creates a new VNumber based on the type of the data
|
Alarm |
getAlarm()
The alarm associated with this value.
|
abstract ListNumber |
getData()
The numeric value.
|
Display |
getDisplay()
The display associated with this value.
|
Time |
getTime()
The time associated with this value.
|
String |
toString()
Default toString implementation for VNumberArray.
|
public abstract ListNumber getData()
public String toString()
public static VNumberArray create(ListNumber data, Alarm alarm, Time time, Display display)
data
- the valuealarm
- the alarmtime
- the timedisplay
- the displaypublic Alarm getAlarm()
public Time getTime()
public Display getDisplay()
Copyright © 2015. All rights reserved.