- TIBCO BusinessEvents®
- Standard
- Collections
- SortedSet

# 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

Name | Type | Description
--- | --- | ---
`set` | `Object` | Instance of SortedSet
`toElement` | `Object` | High endpoint (exclusive) of the returned set

## Returns

Type | Description
--- | ---
`Object` | A view of the portion of this set whose elements are strictly less than toElement

## Cautions

none