- TIBCO BusinessEvents®
- Standard
- Collections
- SortedSet

# Collections.SortedSet.subSet()

## Signature

`Object subSet ( Object set, Object fromElement ,Object toElement )`

## Domain

ACTION

## Description

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.)

## Parameters

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

## Returns

Type | Description
--- | ---
`Object` | A view of the portion of this set whose elements range from fromElement, inclusive, to toElement, exclusive

## Cautions

none