- TIBCO BusinessEvents®
- Standard
- Collections
- SortedSet

# Collections.SortedSet.comparator()

## Signature

`Object comparator ( Object set )`

## Domain

ACTION

## Parameters

Name | Type | Description
--- | --- | ---
`set` | `Object` | Instance of SortedSet

## Returns

Type | Description
--- | ---
`Object` | the comparator used to order the elements in this set, or `null` if this map uses the natural ordering, of its elements

## Cautions

none