Level 138 Level 140
Level 139

[No Typing] Collections: SortedSet Interface


5 words 0 ignored

Ready to learn       Ready to review

Ignore words

Check the boxes below to ignore/unignore words, then click save at the bottom. Ignored words will never appear in any learning session.

All None

Ignore?
Comparator comparator()
Returns the invoking sorted set's comparator. If the natural ordering is used for this set, null is returned.
Object first()
Returns the first element in the invoking sorted set.
SortedSet headSet(Object end)
Returns a SortedSet containing those elements less than end that are contained in the invoking sorted set. Elements in the returned sorted set are also referenced by the invoking sorted set.
Object last()
Returns the last element in the invoking sorted set.
SortedSet tailSet(Object start)
Returns a SortedSet that contains those elements greater than or equal to start that are contained in the sorted set. Elements in the returned set are also referenced by the invoking object.