Class AbstractSortedMap<K,V>
java.lang.Object
com.github.andrewoma.dexx.collection.internal.base.AbstractTraversable<Pair<K,V>>
com.github.andrewoma.dexx.collection.internal.base.AbstractIterable<Pair<K,V>>
com.github.andrewoma.dexx.collection.internal.base.AbstractMap<K,V>
com.github.andrewoma.dexx.collection.internal.base.AbstractSortedMap<K,V>
- All Implemented Interfaces:
Iterable<Pair<K,
,V>> Map<K,
,V> SortedMap<K,
,V> Traversable<Pair<K,
,V>> Iterable<Pair<K,
V>>
- Direct Known Subclasses:
TreeMap
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns an immutable view of this map as an instance ofjava.util.SortedMap
.Returns the bottom of the map starting from the key specified.Returns the top of the map up until the key specified.Methods inherited from class com.github.andrewoma.dexx.collection.internal.base.AbstractMap
asMap, equals, hashCode, keys, values
Methods inherited from class com.github.andrewoma.dexx.collection.internal.base.AbstractIterable
forEach
Methods inherited from class com.github.andrewoma.dexx.collection.internal.base.AbstractTraversable
isEmpty, makeString, makeString, size, to, toArray, toArray, toIndexedList, toSet, toSortedSet, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
Methods inherited from interface com.github.andrewoma.dexx.collection.Map
asMap, containsKey, get, keys, values
Methods inherited from interface com.github.andrewoma.dexx.collection.SortedMap
comparator, drop, first, last, put, range, remove, take
Methods inherited from interface com.github.andrewoma.dexx.collection.Traversable
forEach, isEmpty, makeString, makeString, size, to, toArray, toArray, toIndexedList, toSet, toSortedSet
-
Constructor Details
-
AbstractSortedMap
public AbstractSortedMap()
-
-
Method Details
-
from
Description copied from interface:SortedMap
Returns the bottom of the map starting from the key specified. -
to
Description copied from interface:SortedMap
Returns the top of the map up until the key specified. -
asSortedMap
Description copied from interface:SortedMap
Returns an immutable view of this map as an instance ofjava.util.SortedMap
.- Specified by:
asSortedMap
in interfaceSortedMap<K,
V>
-