|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
interface collection, used for all collection types of railo (array, struct, query)
| Nested Class Summary | |
static interface |
Collection.Key
|
| Method Summary | |
void |
clear()
clears the collection |
java.lang.Object |
clone()
|
boolean |
containsKey(Collection.Key key)
contains this key |
boolean |
containsKey(java.lang.String key)
Deprecated. use instead |
Collection |
duplicate(boolean deepCopy)
|
java.lang.Object |
get(Collection.Key key)
return a value from the collection |
java.lang.Object |
get(Collection.Key key,
java.lang.Object defaultValue)
return a value from the collection, if key doesn't exist, dont throw a exception, reeturns null |
java.lang.Object |
get(java.lang.String key)
Deprecated. use instead |
java.lang.Object |
get(java.lang.String key,
java.lang.Object defaultValue)
Deprecated. use instead |
Collection.Key[] |
keys()
|
java.lang.String[] |
keysAsString()
Deprecated. use instead |
java.lang.Object |
remove(Collection.Key key)
removes value from collection and return it when it exists, otherwise throws a exception |
java.lang.Object |
removeEL(Collection.Key key)
removes value from collection and return it when it exists, otherwise returns null |
java.lang.Object |
set(Collection.Key key,
java.lang.Object value)
sets a value to the collection |
java.lang.Object |
set(java.lang.String key,
java.lang.Object value)
Deprecated. use instead |
java.lang.Object |
setEL(Collection.Key key,
java.lang.Object value)
sets a value to the collection, if key doesn't exist, dont throw a exception, returns null |
java.lang.Object |
setEL(java.lang.String key,
java.lang.Object value)
Deprecated. use instead |
int |
size()
|
| Methods inherited from interface railo.runtime.dump.Dumpable |
toDumpData |
| Methods inherited from interface railo.runtime.type.Iteratorable |
iterator, keyIterator |
| Methods inherited from interface railo.runtime.op.Castable |
castToBoolean, castToBooleanValue, castToDateTime, castToDateTime, castToDoubleValue, castToDoubleValue, castToString, castToString, compareTo, compareTo, compareTo, compareTo |
| Method Detail |
public int size()
public Collection.Key[] keys()
public java.lang.String[] keysAsString()
keys()
public java.lang.Object remove(Collection.Key key)
throws PageException
key - key of the collection
PageExceptionpublic java.lang.Object removeEL(Collection.Key key)
key - key of the collection
public void clear()
public java.lang.Object get(java.lang.String key)
throws PageException
get(railo.runtime.type.Collection.Key)
key - key of the value to get
PageException
public java.lang.Object get(Collection.Key key)
throws PageException
key - key of the value to get must be lower case
PageException
public java.lang.Object get(java.lang.String key,
java.lang.Object defaultValue)
get(railo.runtime.type.Collection.Key, Object)
key - key of the value to get
public java.lang.Object get(Collection.Key key,
java.lang.Object defaultValue)
key - key of the value to get
public java.lang.Object set(java.lang.String key,
java.lang.Object value)
throws PageException
set(railo.runtime.type.Collection.Key, Object)
key - key of the new valuevalue - value to set
PageException
public java.lang.Object set(Collection.Key key,
java.lang.Object value)
throws PageException
key - key of the new valuevalue - value to set
PageException
public java.lang.Object setEL(java.lang.String key,
java.lang.Object value)
setEL(railo.runtime.type.Collection.Key, Object)
key - key of the value to getvalue - value to set
public java.lang.Object setEL(Collection.Key key,
java.lang.Object value)
key - key of the value to getvalue - value to set
public java.lang.Object clone()
public Collection duplicate(boolean deepCopy)
public boolean containsKey(java.lang.String key)
containsKey(railo.runtime.type.Collection.Key)
key -
public boolean containsKey(Collection.Key key)
key -
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||