public class SortedDimensionDictionary<T extends Comparable<T>> extends Object
| Constructor and Description |
|---|
SortedDimensionDictionary(List<T> idToValue,
int length) |
| Modifier and Type | Method and Description |
|---|---|
int |
getSortedIdFromUnsortedId(int id) |
int |
getUnsortedIdFromSortedId(int index) |
T |
getValueFromSortedId(int index) |
public int getUnsortedIdFromSortedId(int index)
public int getSortedIdFromUnsortedId(int id)
public T getValueFromSortedId(int index)
Copyright © 2011–2022 The Apache Software Foundation. All rights reserved.