Package java.util
Interface SortedSet
abstract SortedSet subSet(Object fromElement, Object toElement)
_INSERT_METHOD_SIGNATURE_HERE_
Description:
Returns a view of the portion of this sorted set whose elements range from fromElement, inclusive, to toElement, exclusive. If fromElement and toElement are equal, the returned sorted set is empty. The returned sorted set is backed by this sorted set, so changes in the returned sorted set are reflected in this sorted set, and vice-versa. The returned sorted set supports all optional set operations that this sorted set supports.
The sorted set returned by this method will throw an IllegalArgumentException if the user attempts to insert a element outside the specified range.
This method always returns a half-open range which includes its low endpoint but not its high endpoint. If you need a closed range which includes both endpoints, and the element type allows for calculation of the successor a given value, merely request the subrange from lowEndpoint to successor(highEndpoint).