/** @see railo.runtime.type.Collection#_setEL(java.lang.String, java.lang.Object) */ public Object setEL(Collection.Key key, Object value) { try { return setEL(Caster.toIntValue(key.getString()), value); } catch (ExpressionException e) { return null; } }
/** @see railo.runtime.type.Collection#get(railo.runtime.type.Collection.Key, java.lang.Object) */ public Object get(Collection.Key key, Object defaultValue) { double index = Caster.toIntValue(key.getString(), Integer.MIN_VALUE); if (index == Integer.MIN_VALUE) return defaultValue; return get((int) index, defaultValue); }
/** @see railo.runtime.type.Collection#get(railo.runtime.type.Collection.Key) */ public Object get(Collection.Key key) throws ExpressionException { return getE(Caster.toIntValue(key.getString())); }
public Object removeEL(Collection.Key key) { return removeEL(Caster.toIntValue(key.getString(), -1)); }
/** @see railo.runtime.type.Collection#_set(java.lang.String, java.lang.Object) */ public Object set(Collection.Key key, Object value) throws ExpressionException { return setE(Caster.toIntValue(key.getString()), value); }