Name | Signature and Synopsis |
---|---|
comparator | Object comparator ( Object set ) Returns the comparator used to order the elements in this set, or null if this map uses the Comparable natural ordering of its elements. |
first | Object first (Object set ) Returns the first (lowest) element currently in this set. |
headSet | Object headSet ( Object set, Object toElement ) Returns a view of the portion of this set whose elements are strictly less than toElement. |
last | Object last ( Object set ) Returns the last (highest) element currently in this set. |
subSet | Object subSet ( Object set, Object fromElement ,Object toElement ) Returns a view of the portion of this set whose elements range from fromElement, inclusive, to toElement, exclusive. (If fromElement and toElement are equal, the returned set is empty.) |
tailSet | Object tailSet ( Object set, Object fromElement ) Returns a view of the portion of this set whose elements are greater than or equal to fromElement. |