Methods' Details |
realloc
- Description
- Rellocates the length of the sequence instance.
- Parameter array
-
sequence instance
@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.
|
|
Copyright © 2003 Sun Microsystems, Inc.