CeylonStringMutableList(MutableList<JString> list)
Inherited Attributes
Attributes inherited from: CeylonStringList
Attributes inherited from: Object
Attributes inherited from: Collection<Element>
Attributes inherited from: Correspondence<Key,Item>
Attributes inherited from: Iterable<Element,Absent>
Attributes inherited from: List<Element>
addSource Codeshared actual void add(String element)

Add the given element to the end of this list, incrementing the length of the list.

cloneSource Codeshared actual CeylonStringMutableList clone()

A shallow copy of this collection, that is, a collection with identical elements which does not change if this collection changes. If this collection is immutable, it is acceptable to return a reference to this collection. If this collection is mutable, a newly instantiated collection must be returned.

Refines CeylonStringList.clone ultimately refines Collection.clone
deleteSource Codeshared actual String? delete(Integer index)

Remove the element at the specified index, returning the removed element, if any, or null if there was no such element.

Refines MutableList.delete ultimately refines ListMutator.delete
insertSource Codeshared actual void insert(Integer index, String element)

Insert the given element at the specified index, incrementing the length of the list.

setSource Codeshared actual void set(Integer index, String element)

Set the item associated with the given index to the given item, replacing the item previously associated with this index.

For any instance c of IndexedCorrespondenceMutator, c.set(index, item) may be written using the item and assignment operators:

c[index] = item
Inherited Methods
Methods inherited from: CeylonStringList
Methods inherited from: Object
Methods inherited from: Category<Element>
Methods inherited from: Collection<Element>
Methods inherited from: Correspondence<Key,Item>
Methods inherited from: IndexedCorrespondenceMutator<Element>
Methods inherited from: Iterable<Element,Absent>
Methods inherited from: List<Element>
Methods inherited from: ListMutator<Element>
Methods inherited from: MutableList<Element>
Methods inherited from: Ranged<Index,Element,Subrange>