Package org.yamcs.studio.data.vtype
Interface CollectionNumber
- All Known Subinterfaces:
CollectionByte
,CollectionDouble
,CollectionFloat
,CollectionInt
,CollectionLong
,CollectionShort
,ListNumber
- All Known Implementing Classes:
ArrayByte
,ArrayDouble
,ArrayFloat
,ArrayInt
,ArrayLong
,ArrayShort
,BufferInt
,ListByte
,ListDouble
,ListFloat
,ListInt
,ListLong
,ListShort
,SortedListView
public interface CollectionNumber
A collection of numeric (primitive) elements. It provides a size and can be iterated more than once.
The method names are taken from Collection
, though not all methods are specified. At this moment, the class
is read-only. If in the future the class is extended, the new methods should match the names from Collection
.
-
Method Details
-
iterator
IteratorNumber iterator()Returns an iterator over the elements of the collection. -
size
int size()Returns the number of elements in the collection.
-