- TIBCO BusinessEvents®
- Standard
- Collections
- List

# Collections.List.set()

## Signature

`Object set ( Object list ,int index ,Object element )`

## Domain

ACTION

## Description

Replaces the element at the specified position in this list with the specified element.

## Parameters

Name | Type | Description
--- | --- | ---
`list` | `Object` | The list object
`index` | `int` | Index of the element to replace
`element` | `Object` | Element to be stored at the specified position

## Returns

Type | Description
--- | ---
`Object` | The element previously at the specified position

## Cautions

none