public abstract class SelectedCellsMap<T extends TablePositionBase>
extends Object
Implementation code used by the TableSelectionModel implementations. In short
this code exists to speed up some common use cases which were incredibly
slow in the old approach. The old approach essentially required a lot of
iterating through the selectedCells list. The new approach is to keep this
list for what it is good for (representing selection order primarily), and
introduce a Map to speed up the slow parts - namely looking
up whether a given row/column intersection is selected or not.
Note that a map that contains an empty bitset is used to represent that the
row is selected.
Refer to RT-33442 for more information on this issue.