Modifier and Type | Field and Description |
---|---|
private java.util.Map<java.lang.Integer,java.lang.Integer> |
indexMap |
Constructor and Description |
---|
HashBased(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.
|