- TIBCO BusinessEvents®
- Standard
- Collections
- Set

# Collections.Set

## Description

Utility functions Java.util.Set

## Functions

Name | Signature and Synopsis
--- | ---
`createHashSet` | `Object createHashSet ()` Create and return the instance of HashSet.
`createHashSetWithId` | `Object createHashSetWithId ( String setId )` Create and return instance of HashSet.
`createLinkedHashSet` | `Object createLinkedHashSet ( )` Create and return the instance of LinkedHashSet.
`createLinkedHashSetWithId` | `Object createLinkedHashSetWithId ( String setId )` Create and return instance of LinkedHashSet.
`createSet` | `Object createSet ( String className )` Create and return instance of user specified Set implementation.
`createSetWithId` | `Object createSetWithId ( String className, String setId )` Create and return instance of user specified Set implementation for the given setID.
`createTreeSet` | `Object createTreeSet ( )` Create and return the instance of TreeSet.
`createTreeSetWithId` | `Object createTreeSetWithId ( String setId )` Create and return instance of TreeSet.
`deleteSet` | `Object deleteSet ( String setId )` Deletes the instance of set for the given setId. This function can not be used if the collection is created with createSet().
`getSet` | `Object getSet ( String setId )` Returns the instance of Set for the given setId. This function can not be used when a set is created using createSet(), createHashSet(), createLinkedHashSet() and createTreeSet() functions.