Package railo.commons.lang.types

Examples of railo.commons.lang.types.RefIntegerImpl


        // pc
        //adapter.loadArg(0);
        adapter.loadArg(0);
       
        // collection
        RefInteger startIndex=new RefIntegerImpl();
      _writeOutFirst(bc, (members.get(0)),mode,count==1,true,defaultValue,startIndex);
   
      // keys
      Iterator<Member> it = members.iterator();
      ArrayVisitor av=new ArrayVisitor();
      av.visitBegin(adapter,Types.COLLECTION_KEY,countDM-startIndex.toInt());
      int index=0, i=0;
        while(it.hasNext()) {
          DataMember member=(DataMember) it.next();
          if(i++<startIndex.toInt()) continue;
      av.visitBeginItem(adapter, index++);
        registerKey(bc,member.getName());
      av.visitEndItem(bc.getAdapter());

      }
View Full Code Here


      // convert comparsion
      ConstructorInstance ci=null;
        int _rating=0;
      outer:for(int i=0;i<constructors.length;i++) {
        if(constructors[i]!=null) {
          RefInteger rating=(constructors.length>1)?new RefIntegerImpl(0):null;
          Class[] parameterTypes = constructors[i].getParameterTypes();
          Object[] newArgs = new Object[args.length];
          for(int y=0;y<parameterTypes.length;y++) {
            try {
              newArgs[y]=convert(args[y],toReferenceClass(parameterTypes[y]),rating);
View Full Code Here

        // print.e("convert:"+methodName);
        MethodInstance mi=null;
        int _rating=0;
      outer:for(int i=0;i<methods.length;i++) {
        if(methods[i]!=null) {
          RefInteger rating=(methods.length>1)?new RefIntegerImpl(0):null;
          Class[] parameterTypes = methods[i].getParameterTypes();
          Object[] newArgs = new Object[args.length];
          for(int y=0;y<parameterTypes.length;y++) {
            try {
              newArgs[y]=convert(args[y],toReferenceClass(parameterTypes[y]),rating);
View Full Code Here

          }
    }
       
        RefInteger ri=counter.get(id);
    if(ri!=null)ri.setValue(0);
    else counter.put(id,new RefIntegerImpl(0));
       
  }
View Full Code Here

  private RefInteger _getCounter(DataSource datasource) {
    String did = createId(datasource);
    RefInteger ri=counter.get(did);
    if(ri==null) {
      counter.put(did,ri=new RefIntegerImpl(0));
    }
    return ri;
  }
View Full Code Here

  }
 
  public Resource getResource(String path) {
    path=railo.commons.io.res.util.ResourceUtil.removeScheme(scheme, path);
    S3 s3 = new S3();
    RefInteger storage=new RefIntegerImpl(S3.STORAGE_UNKNOW);
   
   
    //path=loadWithOldPattern(s3,storage,path);
    path=loadWithNewPattern(s3,storage,path);
   
    return new S3Resource(s3,storage.toInt(),this,path,true);
  }
View Full Code Here

TOP

Related Classes of railo.commons.lang.types.RefIntegerImpl

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.