replace


Description:

public Object replace (int index, Object replacement)

Replaces the part at the specified index within this with replacement.

Parameters:

this

a Multipart object

index

the 0-based index of the part to replace

replacement

a Object to use as the replacement

Returns:

the part that was replaced or null if the part was not contained within the multipart.




2022 vala-language.org