Interface MultiSelection.IndexedItems<R>

Type Parameters:
R - the item type
All Known Subinterfaces:
FilterModel.IncludedItems<T>
Enclosing interface:
MultiSelection<T>

public static interface MultiSelection.IndexedItems<R>
Provides access to indexed items
  • Method Summary

    Modifier and Type
    Method
    Description
    get()
     
    get(int index)
     
    int
    indexOf(R item)
     
    int
     
  • Method Details

    • size

      int size()
      Returns:
      the number of items
    • get

      R get(int index)
      Parameters:
      index - the row index
      Returns:
      the item at the given index in this model
      Throws:
      IndexOutOfBoundsException - in case the index is out of bounds
    • indexOf

      int indexOf(R item)
      Parameters:
      item - the item
      Returns:
      the index of the item in this model, -1 if it is not included
    • get

      List<R> get()
      Returns:
      an unmodifiable view of the items