Module is.codion.common.model
Package is.codion.common.model.selection
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
-
Method Details
-
size
int size()- Returns:
- the number of items
-
get
- 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
- Parameters:
item- the item- Returns:
- the index of the item in this model, -1 if it is not included
-
get
- Returns:
- an unmodifiable view of the items
-