Class SortedMapAdapter<K,V>
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- com.github.andrewoma.dexx.collection.internal.adapter.MapAdapter<K,V>
-
- com.github.andrewoma.dexx.collection.internal.adapter.SortedMapAdapter<K,V>
-
- All Implemented Interfaces:
java.util.Map<K,V>,java.util.SortedMap<K,V>
public class SortedMapAdapter<K,V> extends MapAdapter<K,V> implements java.util.SortedMap<K,V>
-
-
Constructor Summary
Constructors Constructor Description SortedMapAdapter(SortedMap<K,V> map)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Comparator<? super K>comparator()KfirstKey()java.util.SortedMap<K,V>headMap(K toKey)KlastKey()java.util.SortedMap<K,V>subMap(K fromKey, K toKey)java.util.SortedMap<K,V>tailMap(K fromKey)-
Methods inherited from class com.github.andrewoma.dexx.collection.internal.adapter.MapAdapter
clear, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
comparator
public java.util.Comparator<? super K> comparator()
-
-