Class SortedListView

java.lang.Object
org.yamcs.studio.data.vtype.ListDouble
org.yamcs.studio.data.vtype.SortedListView
All Implemented Interfaces:
CollectionDouble, CollectionNumber, ListNumber

public class SortedListView extends ListDouble
A sorted view of a list.
  • Method Details

    • getDouble

      public double getDouble(int index)
      Description copied from interface: ListNumber
      Returns the element at the specified position in this list casted to a double.
      Parameters:
      index - position of the element to return
      Returns:
      the element at the specified position in this list
    • size

      public int size()
      Description copied from interface: CollectionNumber
      Returns the number of elements in the collection.
    • getIndexes

      public ListInt getIndexes()
      Returns the index map of the sorted view.
      Returns:
      a list of integers