|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Array
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface railo.runtime.type.Collection |
---|
Collection.Key |
Method Summary | |
---|---|
Object |
append(Object o)
append a new value to the end of the array |
Object |
appendEL(Object o)
|
boolean |
containsKey(int key)
contains this key |
Object |
get(int key,
Object defaultValue)
return object a given position, key can only be a integer from 1 to array len |
int |
getDimension()
return dimension of the array |
Object |
getE(int key)
return object a given position, key can only be a integer from 1 to array len |
boolean |
insert(int key,
Object value)
insert a value add defined position |
int[] |
intKeys()
|
Object |
prepend(Object o)
add a new value to the begin of the array |
Object |
removeE(int key)
removes a value ad defined key |
Object |
removeEL(int key)
removes a value ad defined key |
void |
resize(int to)
resize array to defined size |
Object |
setE(int key,
Object value)
set value at defined position |
Object |
setEL(int key,
Object value)
set value at defined position, on error return null |
void |
sort(Comparator comp)
|
void |
sort(String sortType,
String sortOrder)
Deprecated. use instead sort(Comparator comp) |
Object[] |
toArray()
|
List |
toList()
|
Methods inherited from interface railo.runtime.type.Collection |
---|
clear, clone, containsKey, containsKey, duplicate, get, get, get, get, keys, remove, removeEL, set, set, setEL, setEL, size |
Methods inherited from interface railo.runtime.type.Iteratorable |
---|
entryIterator, keyIterator, keysAsStringIterator, valueIterator |
Methods inherited from interface railo.runtime.type.ForEachIteratorable |
---|
getIterator |
Methods inherited from interface railo.runtime.type.Objects |
---|
call, callWithNamedValues, get, get, set, setEL |
Methods inherited from interface railo.runtime.dump.Dumpable |
---|
toDumpData |
Methods inherited from interface railo.runtime.op.Castable |
---|
castToBoolean, castToBooleanValue, castToDateTime, castToDateTime, castToDoubleValue, castToDoubleValue, castToString, castToString, compareTo, compareTo, compareTo, compareTo |
Method Detail |
---|
int getDimension()
Object get(int key, Object defaultValue)
key
- key as integer
Object getE(int key) throws PageException
key
- key as integer
PageException
Object setEL(int key, Object value)
key
- key of the new valuevalue
- value to set
Object setE(int key, Object value) throws PageException
key
- value
-
PageException
int[] intKeys()
boolean insert(int key, Object value) throws PageException
key
- position to insertvalue
- value to insert
PageException
Object append(Object o) throws PageException
o
- value to insert
PageException
Object appendEL(Object o)
Object prepend(Object o) throws PageException
o
- value to insert
PageException
void resize(int to) throws PageException
to
- new minimum size of the array
PageException
void sort(String sortType, String sortOrder) throws PageException
sort(Comparator comp)
sortType
- search type (text,textnocase,numeric)sortOrder
- (asc,desc)
PageException
void sort(Comparator comp) throws PageException
PageException
Object[] toArray()
List toList()
Object removeE(int key) throws PageException
key
- key to remove
PageException
Object removeEL(int key)
key
- key to remove
boolean containsKey(int key)
key
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |