- TIBCO BusinessEvents®
- CEP Query
- Query
- Util

# Query.Util.listToArray()

## Signature

`Object[] listToArray(Object list)`

## Domain

ACTION

## Description

Copies the list contents by reference to a new array.

## Parameters

Name | Type | Description
--- | --- | ---
`list` | `java.util.List` | The list whose elements are to be copied (references only) to a new java.lang.Object array.

## Returns

Type | Description
--- | ---
`Object[]` | The elements of the list in a new array.

## Cautions

none