public class DoubleIntTreeMap extends AbstractTreeMap implements DoubleIntSortedMap
AbstractTreeMap.Entry, AbstractTreeMap.EntryIterator, AbstractTreeMap.ValueIterator| Constructor and Description |
|---|
DoubleIntTreeMap() |
DoubleIntTreeMap(boolean allowDuplicates) |
DoubleIntTreeMap(LiteralComparator comparator) |
DoubleIntTreeMap(LiteralComparator comparator,
boolean allowDuplicates) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
protected int |
compare(AbstractTreeMap.Entry e1,
AbstractTreeMap.Entry e2) |
boolean |
containsKey(double key) |
double |
firstKey() |
int |
get(double key) |
LiteralIterator |
keyIterator() |
LiteralIterator |
keyRangeIterator(double fromKey,
boolean fromInc,
double toKey,
boolean toInc) |
double |
lastKey() |
int |
put(double key,
int value) |
int |
remove(double key) |
int |
remove(double key,
int val) |
IntIterator |
valueRangeIterator(double fromKey,
boolean fromInc,
double toKey,
boolean toInc) |
comparator, containsValue, decrementSize, find, findCeiling, findPredecessor, fixUpInsert, fixUpRemove, getMaximum, getMedian, getMinimum, getUniqueCount, incrementSize, isAllowDuplicates, isEmpty, maximum, minimum, predecessor, remove, rotateLeft, rotateRight, size, successor, valueIteratorclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomparator, containsValue, getMaximum, getMedian, getMinimum, getUniqueCount, isAllowDuplicates, isEmpty, size, valueIteratorpublic DoubleIntTreeMap()
public DoubleIntTreeMap(boolean allowDuplicates)
public DoubleIntTreeMap(LiteralComparator comparator)
public DoubleIntTreeMap(LiteralComparator comparator, boolean allowDuplicates)
public void clear()
clear in interface IntSortedMapclear in class AbstractTreeMapMap.clear()public boolean containsKey(double key)
containsKey in interface DoubleIntSortedMapMap.containsKey(java.lang.Object)public int get(double key)
get in interface DoubleIntSortedMapMap.get(java.lang.Object)public int put(double key,
int value)
put in interface DoubleIntSortedMapMap.put(java.lang.Object, java.lang.Object)public int remove(double key)
remove in interface DoubleIntSortedMapMap.remove(java.lang.Object)public int remove(double key,
int val)
remove in interface DoubleIntSortedMappublic double firstKey()
firstKey in interface DoubleIntSortedMapSortedMap.firstKey()public double lastKey()
lastKey in interface DoubleIntSortedMapSortedMap.lastKey()public LiteralIterator keyIterator()
keyIterator in interface DoubleIntSortedMappublic LiteralIterator keyRangeIterator(double fromKey, boolean fromInc, double toKey, boolean toInc)
keyRangeIterator in interface DoubleIntSortedMappublic IntIterator valueRangeIterator(double fromKey, boolean fromInc, double toKey, boolean toInc)
valueRangeIterator in interface DoubleIntSortedMapprotected int compare(AbstractTreeMap.Entry e1, AbstractTreeMap.Entry e2)
compare in class AbstractTreeMap