Collections.SortedSet.headSet()

Signature

Object headSet ( Object set, Object toElement )

Domain

action

Description

Returns a view of the portion of this set whose elements are strictly less than toElement.

Parameters

NameTypeDescription
setObjectInstance of SortedSet
toElementObject High endpoint (exclusive) of the returned set

Returns

TypeDescription
ObjectA view of the portion of this set whose elements are strictly less than toElement

Cautions

none