- TIBCO BusinessEvents®
- CEP Query
- Query
- Util

# Query.Util.addToList()

## Signature

`int addToList(Object list, Object item)`

## Domain

ACTION

## Description

Adds the given item into the list.

## Parameters

Name | Type | Description
--- | --- | ---
`list` | `java.util.List` | The list to add the item to.
`item` | `Object` | The item to be added to the list.

## Returns

Type | Description
--- | ---
`int` | The new size of the list after the addition.

## Cautions

none