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, hashCode
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.SortedSet
add, comparator, drop, first, last, 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
-
AbstractSortedSet
public AbstractSortedSet()
-
-
Method Details
-
from
Description copied from interface:SortedSet
Returns the bottom of the set starting from the key specified. -
to
Description copied from interface:SortedSet
Returns the top of the set up until the key specified. -
asSortedSet
Description copied from interface:SortedSet
Returns an immutable view of this set as an instance ofjava.util.SortedSet
.- Specified by:
asSortedSet
in interfaceSortedSet<E>
-