001    /**
002     * Implements the Cold Fusion Function structupdate
003     */
004    package railo.runtime.functions.struct;
005    
006    import railo.runtime.PageContext;
007    import railo.runtime.exp.PageException;
008    import railo.runtime.ext.function.Function;
009    
010    public final class StructUpdate implements Function {
011            public static boolean call(PageContext pc , railo.runtime.type.Struct struct, String key, Object object) throws PageException {
012                    struct.get(key);
013                    struct.set(key,object);
014                    return true;
015            }
016    }