Methods' Summary |
realloc |
Reallocates the length of the sequence instance.
|
getLen |
Returns the length of the given sequence.
|
get |
Returns element at given index.
|
set |
Sets a new value at given index.
|
Methods' Details |
realloc
- Description
- Reallocates the length of the sequence instance.
- Parameter array
- sequence instance
- Parameter length
- new length of sequence
|
|
getLen
- Description
- Returns the length of the given sequence.
- Parameter array
- sequence instance
- Returns
- length of sequence
|
|
get
- Description
- Returns element at given index.
- Parameter aArray
- sequence instance
- Parameter nIndex
- index
- Returns
- value
- Throws
- IllegalArgumentException
if the specified object is not a sequence or if the specified object is null
- Throws
- ArrayIndexOutOfBoundsException
if the specified index argument is negative, or if it is greater than or equal to the
length of the specified sequence.
|
|
set
- Description
- Sets a new value at given index.
- Parameter aArray
- sequence instance
- Parameter nIndex
- index
- Parameter aNewValue
- new value to be set
- Throws
- IllegalArgumentException
if the specified object is not a sequence or if the specified object is null
- Throws
- ArrayIndexOutOfBoundsException
if the specified index argument is negative, or if it is greater than or equal to the
length of the specified sequence.
|
|
Top of Page
Copyright © 2020, The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.