public interface MutableList<E> extends List<E>
Modifier and Type | Field and Description |
---|---|
static String |
SINGLETON_NAME |
Modifier and Type | Method and Description |
---|---|
void |
append(E element)
Adds a value at the end of the mutable list.
|
void |
insertAt(E element,
int at)
Adds element at the given position.
|
String |
joinfields(String sep,
String begin,
String end)
Creates a string separated by sep and delimited with begin and end
strings.
|
void |
prepend(E element)
Adds element at the beginning of the mutable list.
|
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray
parallelStream, removeIf, stream
static final String SINGLETON_NAME
void append(E element)
element
- the element object to be addedvoid prepend(E element)
element
- the element object to be prependedvoid insertAt(E element, int at)
element
- at
- the 1-based position (in compliance with OCL convention).Copyright © 2008, 2018 Borland Software Corporation and others. All Rights Reserved.