Public 成员函数 | |
| IndexXYMap () | |
| V | put (K key, V value) |
| double | getMaxXDifference () |
| void | clear () |
| K | getXByIndex (int index) |
| V | getYByIndex (int index) |
| XYEntry< K, V > | getByIndex (int index) |
| XYEntry< K, V > | removeByIndex (int index) |
| int | getIndexForKey (K key) |
Private 成员函数 | |
| void | updateMaxXDifference () |
Private 属性 | |
| final List< K > | indexList = new ArrayList<K>() |
| double | maxXDifference = 0 |
This class requires sorted x values.
| <K> | the key type |
| <V> | the value type |
|
inline |
Instantiates a new index xy map.
|
inline |
描述:TODO.
|
inline |
Returns XY-entry according to the given index.
| index | the index |
|
inline |
Gets the index for key.
| key | the key |
|
inline |
Gets the max x difference.
|
inline |
Returns X-value according to the given index.
| index | the index |
|
inline |
Returns Y-value according to the given index.
| index | the index |
|
inline |
描述:TODO.
| key | the key |
| value | the value |
|
inline |
Removes entry from map by index.
| index | the index |
|
inlineprivate |
Update max x difference.
|
private |
The index list.
|
private |
The max x difference.
1.8.8