A MutableList
with elements of type ceylon.language::String
that wraps a MutableList
with elements of type java.lang::String
.
This class can be used to wrap a java.util::List
if the
Java list is first wrapped with CeylonMutableList
:
CeylonStringMutableList(CeylonMutableList(javaList))
If the given list is not a MutableList
, use CeylonStringList
.
no subtypes hierarchy
Initializer |
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> |
Methods | |
add | Source Codeshared actual void add(String element) Refines ListMutator.add |
clone | Source 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. |
delete | Source Codeshared actual String? delete(Integer index) Remove the element at the specified |
insert | Source Codeshared actual void insert(Integer index, String element) Refines ListMutator.insert |
set | Source Codeshared actual void set(Integer index, String element) Set the item associated with the given For any instance c[index] = item |