Package railo.runtime.type

Examples of railo.runtime.type.Collection


 
  private static final long serialVersionUID = 4395420120630859733L;

  public static Object call(PageContext pc , Struct src) throws PageException {
   
    Collection trg = (Collection) Duplicator.duplicate(src,false);
    Collection.Key[] keys=CollectionUtil.keys(trg);
    Collection.Key key;
    Object o;
    for(int i=0;i<keys.length;i++) {
      key=keys[i];
      o=src.get(key,null);
      if(o instanceof Array)
        trg.set(key,Duplicator.duplicate(o,false));
    }
    return trg;
  }
View Full Code Here

TOP

Related Classes of railo.runtime.type.Collection

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.