Package org.epics.vtype
Class VBooleanArray
- java.lang.Object
-
- org.epics.vtype.VType
-
- org.epics.vtype.Array
-
- org.epics.vtype.VBooleanArray
-
- All Implemented Interfaces:
AlarmProvider
,TimeProvider
- Direct Known Subclasses:
IVBooleanArray
public abstract class VBooleanArray extends Array implements AlarmProvider, TimeProvider
Boolean array with alarm, timestamp, display and control information.- Author:
- carcassi
-
-
Constructor Summary
Constructors Constructor Description VBooleanArray()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract org.epics.util.array.ListBoolean
getData()
Return the object containing the array data.static VBooleanArray
of(org.epics.util.array.ListBoolean data, Alarm alarm, Time time)
Creates a new VBooleanArray.-
Methods inherited from class org.epics.vtype.VType
toVType, toVType, toVType, toVTypeChecked, toVTypeChecked, typeOf
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.epics.vtype.AlarmProvider
getAlarm
-
Methods inherited from interface org.epics.vtype.TimeProvider
getTime
-
-
-
-
Method Detail
-
getData
public abstract org.epics.util.array.ListBoolean getData()
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
.
-
of
public static VBooleanArray of(org.epics.util.array.ListBoolean data, Alarm alarm, Time time)
Creates a new VBooleanArray.- Parameters:
data
- the valuealarm
- the alarmtime
- the time- Returns:
- the new value
-
-