|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MutableList<E>
A mutable list type, representing the QVT Stdlib list type in runtime.
Method Summary | |
---|---|
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. |
java.lang.String |
joinfields(java.lang.String sep,
java.lang.String begin,
java.lang.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. |
Methods inherited from interface java.util.List |
---|
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray |
Method Detail |
---|
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).java.lang.String joinfields(java.lang.String sep, java.lang.String begin, java.lang.String end)
sep
- separator stringbegin
- starting delimiterend
- ending delimiter
|
Copyright 2008 Borland Software Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |