public class ObjectDoubleTreeMap
extends java.util.TreeMap
 This class is NOT thread safe, synchronize read and write 
 operation when used in multi-threaded context if you really need features
 provided by this collection. 
 
 In multithreaded context, it may be wiser to use alternative thread safe and type safe 
 collection such as ConcurrentHashMap<YourType, Double>.
| Modifier and Type | Field and Description | 
|---|---|
static java.lang.String | 
REVISION  | 
| Constructor and Description | 
|---|
ObjectDoubleTreeMap()  | 
| Modifier and Type | Method and Description | 
|---|---|
double | 
getDouble(java.lang.Object key,
         double defaultValue)
Returns the value to which this map maps the specified
 key. 
 | 
void | 
inc(java.lang.Object key)
Incremente the value associated with the specified key. 
 | 
void | 
inc(java.lang.Object key,
   double quantity)
Incremente the value associated with the specified key. 
 | 
void | 
put(java.lang.Object key,
   double value)
Associates the specified value with the specified key in this
 map. 
 | 
ceilingEntry, ceilingKey, clear, clone, comparator, containsKey, containsValue, descendingKeySet, descendingMap, entrySet, firstEntry, firstKey, floorEntry, floorKey, forEach, get, headMap, headMap, higherEntry, higherKey, keySet, lastEntry, lastKey, lowerEntry, lowerKey, navigableKeySet, pollFirstEntry, pollLastEntry, put, putAll, remove, replace, replace, replaceAll, size, subMap, subMap, tailMap, tailMap, valuespublic static final java.lang.String REVISION
public void put(java.lang.Object key,
                double value)
key - key with which the specified value is to be associated.value - value to be associated with the specified key.public void inc(java.lang.Object key,
                double quantity)
key - key for which the specified value must be incremented.quantity - the quantity to incrementpublic void inc(java.lang.Object key)
key - key for which the specified value must be incremented.public double getDouble(java.lang.Object key,
                        double defaultValue)
defaultValue if the map contains no
 mapping for this key.key - key whose associated value is to be returned.defaultValue - value to return if the map contains no mapping for this key.defaultValue if the map contains no mapping for this key.Copyright © 2001-2018 Jalios SA. All Rights Reserved.