- TIBCO BusinessEvents®
- Standard
- Collections
- Set

# Collections.Set.createTreeSetWithId()

## Signature

`Object createTreeSetWithId ( String setId )`

## Domain

ACTION

## Description

Create and return instance of TreeSet for the given setID. If the set already exists, return the existing Set.

## Parameters

Name | Type | Description
--- | --- | ---
`setId` | `String` | The String ID of the set to create

## Returns

Type | Description
--- | ---
`Object` | Instance of TreeSet

## Cautions

none