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