public class FloatIntTreeMap extends AbstractTreeMap implements FloatIntSortedMap
AbstractTreeMap.Entry, AbstractTreeMap.EntryIterator, AbstractTreeMap.ValueIterator
Constructor and Description |
---|
FloatIntTreeMap() |
FloatIntTreeMap(boolean allowDuplicates) |
FloatIntTreeMap(LiteralComparator comparator) |
FloatIntTreeMap(LiteralComparator comparator,
boolean allowDuplicates) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
protected int |
compare(AbstractTreeMap.Entry e1,
AbstractTreeMap.Entry e2) |
boolean |
containsKey(float key) |
float |
firstKey() |
int |
get(float key) |
LiteralIterator |
keyIterator() |
LiteralIterator |
keyRangeIterator(float fromKey,
boolean fromInc,
float toKey,
boolean toInc) |
float |
lastKey() |
int |
put(float key,
int value) |
int |
remove(float key) |
int |
remove(float key,
int val) |
IntIterator |
valueRangeIterator(float fromKey,
boolean fromInc,
float 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, valueIterator
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparator, containsValue, getMaximum, getMedian, getMinimum, getUniqueCount, isAllowDuplicates, isEmpty, size, valueIterator
public FloatIntTreeMap()
public FloatIntTreeMap(boolean allowDuplicates)
public FloatIntTreeMap(LiteralComparator comparator)
public FloatIntTreeMap(LiteralComparator comparator, boolean allowDuplicates)
public void clear()
clear
in interface IntSortedMap
clear
in class AbstractTreeMap
Map.clear()
public boolean containsKey(float key)
containsKey
in interface FloatIntSortedMap
Map.containsKey(java.lang.Object)
public int get(float key)
get
in interface FloatIntSortedMap
Map.get(java.lang.Object)
public int put(float key, int value)
put
in interface FloatIntSortedMap
Map.put(java.lang.Object, java.lang.Object)
public int remove(float key)
remove
in interface FloatIntSortedMap
Map.remove(java.lang.Object)
public int remove(float key, int val)
remove
in interface FloatIntSortedMap
public float firstKey()
firstKey
in interface FloatIntSortedMap
SortedMap.firstKey()
public float lastKey()
lastKey
in interface FloatIntSortedMap
SortedMap.lastKey()
public LiteralIterator keyIterator()
keyIterator
in interface FloatIntSortedMap
public LiteralIterator keyRangeIterator(float fromKey, boolean fromInc, float toKey, boolean toInc)
keyRangeIterator
in interface FloatIntSortedMap
public IntIterator valueRangeIterator(float fromKey, boolean fromInc, float toKey, boolean toInc)
valueRangeIterator
in interface FloatIntSortedMap
protected int compare(AbstractTreeMap.Entry e1, AbstractTreeMap.Entry e2)
compare
in class AbstractTreeMap
Copyright ? 2013 Regents of the University of California