public interface LightArrayInt
Modifier and Type | Method and Description |
---|---|
int |
get(int index)
get the object at a specific index
|
int |
length()
the length of the array
|
void |
push(int value)
push a value on to the array
|
void |
set(int index,
int value)
put an object to a given index.
|
int |
shift()
pop a value from the array
|
void |
unshift(int value)
push a value onto the array
|
int shift()
int get(int index)
index
- the indexvoid set(int index, int value)
index
- the indexvalue
- the value to storeint length()
void unshift(int value)
value
- to pushvoid push(int value)
value
- Copyright © 2021 Magnolia International Ltd.. All rights reserved.