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

NameTypeDescription
listObjectThe list object
indexintIndex of the element to replace
elementObjectElement to be stored at the specified position

Returns

TypeDescription
ObjectThe element previously at the specified position

Cautions

none