public class SortedSet<E extends Comparable<? super E>> extends AbstractSet<E>
Constructor and Description |
---|
SortedSet()
create an empty SortedSet
|
SortedSet(ISet<E> other)
Create a copy of other that is sorted.
|
Modifier and Type | Method and Description |
---|---|
E |
max()
Return the largest element in this SortedSet.
|
E |
min()
Return the smallest element in this SortedSet.
|
toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
add, addAll, clear, contains, containsAll, difference, equals, intersection, iterator, remove, size, union