Method Summary | |
---|---|
static stringseq | create
()
Creates a new empty sequence. |
String | get
(int idx)
Returns the value of the sequence element with the specified index. If the index is out of range, this method throws exception cipXInvalidSeqIndex. |
int | getarraysize
()
Returns current number of elements in the sequence. |
void | insert
(int idx, String value)
Inserts an element with the specified value in front of the sequence element with the specified index. If the index is out of range, the sequence is expanded to include this index. |
void | insertseq
(int idx, stringseq seq)
Inserts elements from the list passed as the second argument in front of the sequence element with the specified index. If the index is out of range, the sequence is expanded to include this index. |
void | removerange
(int frominc, int toexcl)
Removes elements in the specified range from the sequence. The first argument specifies the index of the first element to be removed. The second argument specifies the index of the element immediately after the last in the range to be removed. |
void | set
(int idx, String value)
Assigns a value to the sequence element with the specified index. If the index is out of range, the sequence is expanded to include this index. |
Method Detail |
---|
getarraysize |
---|
int | getarraysize | () |
Returns current number of elements in the sequence.
|
get |
---|
String | get | (int idx) |
Returns the value of the sequence element with the specified index. If the index is out of range, this method throws exception cipXInvalidSeqIndex.
|
set |
---|
void | set | (int idx, String value) |
Assigns a value to the sequence element with the specified index. If the index is out of range, the sequence is expanded to include this index.
|
removerange |
---|
void | removerange | (int frominc, int toexcl) |
Removes elements in the specified range from the sequence. The first argument specifies the index of the first element to be removed. The second argument specifies the index of the element immediately after the last in the range to be removed.
|
insert |
---|
void | insert | (int idx, String value) |
Inserts an element with the specified value in front of the sequence element with the specified index. If the index is out of range, the sequence is expanded to include this index.
|
insertseq |
---|
void | insertseq | (int idx, stringseq seq) |
Inserts elements from the list passed as the second argument in front of the sequence element with the specified index. If the index is out of range, the sequence is expanded to include this index.
|
create |
---|
static stringseq | create | () |
Creates a new empty sequence.
|