public interface ScriptArray<T>
| Modifier and Type | Method and Description |
|---|---|
void |
delete(int index)
Deletes the element at this index.
|
T |
get(int index)
If there is an element at this index, return it.
|
int |
getLength()
What is the length of the instantiated array?
That is, at what indexes can we expect there to be
elements?
|
boolean |
has(int index) |
void |
set(int index,
T element)
Set the element at this index.
|
boolean has(int index)
index - the indexT get(int index)
index - the indexvoid set(int index,
T element)
index - the indexelement - the elementvoid delete(int index)
index - the indexint getLength()
Copyright © 2017. All rights reserved.