Selection constructor

Selection(
  1. Set<int> selectedIndexes
)

Creates a new Selection.

Implementation

Selection(Set<int> selectedIndexes)
    : selectedIndexes = UnmodifiableSetView(Set.of(selectedIndexes));