| Library | Package | Frames | Expand | Java Toolkit |
| Method Summary | |
|---|---|
| static Appearances | create
()
Creates a new empty sequence. |
| /*optional*/ Appearance | 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,
/*optional*/
Appearance 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, Appearances 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,
/*optional*/
Appearance 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 |
|---|
| /*optional*/ Appearance | 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, /*optional*/ Appearance 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, /*optional*/ Appearance 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, Appearances 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 Appearances | create | () |
Creates a new empty sequence.
|