Bag that maintains a sorted order among
its unique representative members.
| Modifier and Type | Method and Description |
|---|---|
| public Comparator | Returns: the comparator in use, or null if natural orderingReturns the comparator associated with this sorted set, or null if it uses its elements' natural ordering. |
| public E | |
| public E |
| comparator | back to summary |
|---|---|
| public Comparator Returns the comparator associated with this sorted set, or null if it uses its elements' natural ordering.
| |
| first | back to summary |
|---|---|
| public E first() Returns the first (lowest) member.
| |
| last | back to summary |
|---|---|
| public E last() Returns the last (highest) member.
| |