class MultipleSelectionModelBase.SelectedIndicesList
extends <any>
Modifier and Type | Field and Description |
---|---|
private int |
atomicityCount |
private java.util.BitSet |
bitset |
private int |
lastGetIndex |
private int |
lastGetValue |
Constructor and Description |
---|
SelectedIndicesList() |
SelectedIndicesList(java.util.BitSet bitset) |
Modifier and Type | Method and Description |
---|---|
void |
_beginChange() |
void |
_endChange() |
void |
_nextAdd(int from,
int to) |
void |
_nextPermutation(int from,
int to,
int[] perm) |
void |
_nextRemove(int idx,
java.lang.Integer removed) |
void |
_nextRemove(int idx,
java.util.List<? extends java.lang.Integer> removed) |
void |
_nextReplace(int from,
int to,
java.util.List<? extends java.lang.Integer> removed) |
void |
_nextSet(int idx,
java.lang.Integer old) |
void |
_nextUpdate(int pos) |
int |
bitsetSize()
Returns the number of bits reserved in the BitSet
|
void |
clear() |
void |
clear(int index) |
boolean |
contains(java.lang.Object o) |
java.lang.Integer |
get(int index) |
int |
indexOf(java.lang.Object obj) |
(package private) boolean |
isAtomic() |
boolean |
isNotSelected(int index) |
boolean |
isSelected(int index) |
private boolean |
isValidIndex(int index) |
void |
reset() |
void |
set(int index) |
void |
set(int index,
boolean isSet) |
void |
set(int index,
int... indices) |
void |
set(int index,
int end,
boolean isSet) |
int |
size()
Returns number of true bits in BitSet
|
(package private) void |
startAtomic() |
(package private) void |
stopAtomic() |
private final java.util.BitSet bitset
private int lastGetIndex
private int lastGetValue
private int atomicityCount
public SelectedIndicesList()
public SelectedIndicesList(java.util.BitSet bitset)
boolean isAtomic()
void startAtomic()
void stopAtomic()
public java.lang.Integer get(int index)
public void set(int index)
private boolean isValidIndex(int index)
public void set(int index, boolean isSet)
public void set(int index, int end, boolean isSet)
public void set(int index, int... indices)
public void clear()
public void clear(int index)
public boolean isSelected(int index)
public boolean isNotSelected(int index)
public int size()
public int bitsetSize()
public int indexOf(java.lang.Object obj)
public boolean contains(java.lang.Object o)
public void reset()
public void _beginChange()
public void _endChange()
public final void _nextUpdate(int pos)
public final void _nextSet(int idx, java.lang.Integer old)
public final void _nextReplace(int from, int to, java.util.List<? extends java.lang.Integer> removed)
public final void _nextRemove(int idx, java.util.List<? extends java.lang.Integer> removed)
public final void _nextRemove(int idx, java.lang.Integer removed)
public final void _nextPermutation(int from, int to, int[] perm)
public final void _nextAdd(int from, int to)