| Modifier and Type | Field and Description |
|---|---|
private int |
count |
private int |
startIndex |
| Constructor and Description |
|---|
RangeBased() |
RangeBased(int startIndex,
int count) |
| Modifier and Type | Method and Description |
|---|---|
IndexMap |
add(int index,
int originalIndex)
Add a new index to the map
|
int |
map(int index)
Return the index that the specified index is mapped to.
|