be.SIRAPRISE.util
Class IntersectableTreeMap<K,V>
java.lang.Object
be.SIRAPRISE.util.IntersectableMap<K,V>
be.SIRAPRISE.util.IntersectableTreeMap<K,V>
- Type Parameters:
K
- V
-
- All Implemented Interfaces:
- java.util.Map<K,V>, java.util.SortedMap<K,V>
public class IntersectableTreeMap<K,V>
- extends IntersectableMap<K,V>
- implements java.util.SortedMap<K,V>
IntersectableHashMap is an extension of IntersectableMap that has a TreeMap as its underlying map type
- Author:
- Erwin Smout
Nested classes/interfaces inherited from interface java.util.Map |
java.util.Map.Entry<K,V> |
Methods inherited from class be.SIRAPRISE.util.IntersectableMap |
clear, clone, containsKey, containsValue, entrySet, equals, get, hashCode, intersect, intersect, isEmpty, keySet, minus, minus, put, putAll, remove, size, toString, union, union, values |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.SortedMap |
entrySet, keySet, values |
Methods inherited from interface java.util.Map |
clear, containsKey, containsValue, equals, get, hashCode, isEmpty, put, putAll, remove, size |
IntersectableTreeMap
public IntersectableTreeMap()
- Initializes a new IntersectableTreeMap
IntersectableTreeMap
public IntersectableTreeMap(java.util.Comparator<? super K> c)
- Initializes a IntersectableTreeMap
- Parameters:
c
-
IntersectableTreeMap
public IntersectableTreeMap(java.util.Map<? extends K,? extends V> m)
- Initializes a IntersectableTreeMap
- Parameters:
m
-
IntersectableTreeMap
public IntersectableTreeMap(java.util.SortedMap<? extends K,? extends V> m)
- Initializes a IntersectableTreeMap
- Parameters:
m
-
comparator
public java.util.Comparator<? super K> comparator()
- Specified by:
comparator
in interface java.util.SortedMap<K,V>
firstKey
public K firstKey()
- Specified by:
firstKey
in interface java.util.SortedMap<K,V>
headMap
public java.util.SortedMap<K,V> headMap(K toKey)
- Specified by:
headMap
in interface java.util.SortedMap<K,V>
lastKey
public K lastKey()
- Specified by:
lastKey
in interface java.util.SortedMap<K,V>
subMap
public java.util.SortedMap<K,V> subMap(K fromKey,
K toKey)
- Specified by:
subMap
in interface java.util.SortedMap<K,V>
tailMap
public java.util.SortedMap<K,V> tailMap(K fromKey)
- Specified by:
tailMap
in interface java.util.SortedMap<K,V>