E
- element type.public interface SortedSet<E> extends Set<E>
Modifier and Type | Method and Description |
---|---|
Comparator<? super E> |
comparator() |
E |
first() |
SortedSet<E> |
headSet(E toElement) |
E |
last() |
default Spliterator<E> |
spliterator() |
SortedSet<E> |
subSet(E fromElement,
E toElement) |
SortedSet<E> |
tailSet(E fromElement) |
Comparator<? super E> comparator()
E first()
E last()
default Spliterator<E> spliterator()
spliterator
in interface Collection<E>
spliterator
in interface Iterable<E>
spliterator
in interface Set<E>
Copyright © 2018. All rights reserved.