com.senn.magic.collections
Class ChainableTreeMap<K,V>
java.lang.Object
java.util.AbstractMap<K,V>
java.util.TreeMap<K,V>
com.senn.magic.collections.ChainableTreeMap<K,V>
- All Implemented Interfaces:
- ChainableMap<K,V>, Serializable, Cloneable, Map<K,V>, NavigableMap<K,V>, SortedMap<K,V>
public class ChainableTreeMap<K,V>
- extends TreeMap<K,V>
- implements ChainableMap<K,V>
TreeMap
implementation of ChainableMap
- Since:
- 3.5
- Author:
- Bart Thierens
Last modification: 23/01/2011
- See Also:
- Serialized Form
Nested classes/interfaces inherited from interface java.util.Map |
Map.Entry<K,V> |
Methods inherited from class java.util.TreeMap |
ceilingEntry, ceilingKey, clear, clone, comparator, containsKey, containsValue, descendingKeySet, descendingMap, entrySet, firstEntry, firstKey, floorEntry, floorKey, get, headMap, headMap, higherEntry, higherKey, keySet, lastEntry, lastKey, lowerEntry, lowerKey, navigableKeySet, pollFirstEntry, pollLastEntry, put, putAll, remove, size, subMap, subMap, tailMap, tailMap, values |
ChainableTreeMap
public ChainableTreeMap()
ChainableTreeMap
public ChainableTreeMap(Comparator<? super K> comparator)
ChainableTreeMap
public ChainableTreeMap(Map<? extends K,? extends V> m)
ChainableTreeMap
public ChainableTreeMap(SortedMap<K,? extends V> m)
add
public ChainableMap<K,V> add(K key,
V value)
- Specified by:
add
in interface ChainableMap<K,V>
- Returns:
- See Also:
Map.put(Object, Object)
addAll
public ChainableMap<K,V> addAll(Map<? extends K,? extends V> m)
- Specified by:
addAll
in interface ChainableMap<K,V>
- Returns:
- See Also:
Map.putAll(Map)
empty
public ChainableMap<K,V> empty()
- Specified by:
empty
in interface ChainableMap<K,V>
- Returns:
- See Also:
Map.clear()
delete
public ChainableMap<K,V> delete(Object key)
- Specified by:
delete
in interface ChainableMap<K,V>
- Returns:
- See Also:
Map.remove(Object)