Class AbstractSortedSet<E>
java.lang.Object
com.github.andrewoma.dexx.collection.internal.base.AbstractTraversable<E>
com.github.andrewoma.dexx.collection.internal.base.AbstractIterable<E>
com.github.andrewoma.dexx.collection.internal.base.AbstractSet<E>
com.github.andrewoma.dexx.collection.internal.base.AbstractSortedSet<E>
- All Implemented Interfaces:
Iterable<E>,Set<E>,SortedSet<E>,Traversable<E>,Iterable<E>
- Direct Known Subclasses:
TreeSet
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns an immutable view of this set as an instance ofjava.util.SortedSet.Returns the bottom of the set starting from the key specified.Returns the top of the set up until the key specified.Methods inherited from class com.github.andrewoma.dexx.collection.internal.base.AbstractSet
asSet, equals, hashCodeMethods inherited from class com.github.andrewoma.dexx.collection.internal.base.AbstractIterable
forEachMethods inherited from class com.github.andrewoma.dexx.collection.internal.base.AbstractTraversable
isEmpty, makeString, makeString, size, to, toArray, toArray, toIndexedList, toSet, toSortedSet, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods inherited from interface com.github.andrewoma.dexx.collection.SortedSet
add, comparator, drop, first, last, range, remove, takeMethods inherited from interface com.github.andrewoma.dexx.collection.Traversable
forEach, isEmpty, makeString, makeString, size, to, toArray, toArray, toIndexedList, toSet, toSortedSet
-
Constructor Details
-
AbstractSortedSet
public AbstractSortedSet()
-
-
Method Details
-
from
Description copied from interface:SortedSetReturns the bottom of the set starting from the key specified. -
to
Description copied from interface:SortedSetReturns the top of the set up until the key specified. -
asSortedSet
Description copied from interface:SortedSetReturns an immutable view of this set as an instance ofjava.util.SortedSet.- Specified by:
asSortedSetin interfaceSortedSet<E>
-