public final class ArrayInt extends Object implements Sizeable, Serializable
Constructor and Description |
---|
ArrayInt()
constructor with default dimesnion (1)
|
ArrayInt(int[] objects)
constructor with to data to fill
|
Modifier and Type | Method and Description |
---|---|
int |
add(int o) |
void |
clear() |
boolean |
contains(int key) |
int |
get(int key) |
int |
get(int key,
int defaultValue) |
int[] |
keys() |
int |
remove(int key) |
int |
removeEL(int key) |
int |
set(int key,
int value) |
int |
size() |
long |
sizeOf()
return the size of the object
|
int[] |
toArray() |
public ArrayInt()
public ArrayInt(int[] objects)
objects
- Objects array data to fillpublic int get(int key, int defaultValue)
public int get(int key) throws ExpressionException
ExpressionException
public int set(int key, int value)
public int size()
public int[] keys()
public int remove(int key) throws ExpressionException
ExpressionException
public int removeEL(int key)
public void clear()
public int add(int o)
public int[] toArray()
public boolean contains(int key)
Copyright © 2015 Lucee