Examples of each()


Examples of chunmap.data.feature.FeatureCollection.each()

      final ShpDataSource pDR = new ShpDataSource(path,Charset.forName("GBK"));
      //System.out.print(Charset.defaultCharset());
        GeoDataAdapter pDA = new GeoDataAdapter(pDR);

        FeatureCollection fc = pDA.createFeatureList();
        fc.each(new VisitAction(){
      @Override
      public void execute(Feature obj) {
        ShapeFeature shp = (ShapeFeature)obj;
        Object[] data=pDR.data(shp.getId());
        shp.setValues(data);
View Full Code Here

Examples of com.caucho.quercus.env.ArrayValue.each()

      _varList[0].evalAssignValue(env, array.key());

    if (_varList.length > 1 && _varList[1] != null)
      _varList[1].evalAssignValue(env, array.current().copy());
     
    return array.each();
  }
 
  public boolean evalEachBoolean(Env env, Value value)
  {
    if (! (value instanceof ArrayValue)) {
View Full Code Here

Examples of com.caucho.quercus.env.ArrayValue.each()

    Value value = var.toValue();

    if (value instanceof ArrayValue) {
      ArrayValue array = (ArrayValue) value;

      return array.each();
    }
    else {
      env.warning(L.l("each() argument must be an array at '{0}'", value.getClass().getSimpleName()));
   
      return BooleanValue.FALSE;
View Full Code Here

Examples of com.caucho.quercus.env.ArrayValue.each()

      _keyVar.evalAssign(env, array.key());

    if (_valueVar != null)
      _valueVar.evalAssign(env, array.current());

    return array.each();
  }

  /**
   * Evaluates the expression.
   *
 
View Full Code Here

Examples of com.caucho.quercus.env.ArrayValue.each()

    Value value = getExpr().eval(env);

    if (value instanceof ArrayValue) {
      ArrayValue array = (ArrayValue) value;

      return array.each();
    }
    else
      return BooleanValue.FALSE;
  }
View Full Code Here

Examples of com.caucho.quercus.env.ArrayValue.each()

    Value value = var.toValue();

    if (value instanceof ArrayValue) {
      ArrayValue array = (ArrayValue) value;

      return array.each();
    }
    else {
      env.warning(L.l("each() argument must be an array at '{0}'",
                      value.getClass().getSimpleName()));
   
View Full Code Here

Examples of com.caucho.quercus.env.ArrayValue.each()

      _varList[0].evalAssignValue(env, array.key());

    if (_varList.length > 1 && _varList[1] != null)
      _varList[1].evalAssignValue(env, array.current().copy());
     
    return array.each();
  }
 
  public boolean evalEachBoolean(Env env, Value value)
  {
    if (! (value instanceof ArrayValue)) {
View Full Code Here

Examples of com.google.gwt.query.client.GQuery.each()

    // select other draggable elements if select options is set
    SelectFunction selectFunction = options.getSelect();
    if (selectFunction != null) {
      GQuery followers = selectFunction.selectElements();
      followers.each(new Function() {
        @Override
        public void f(Element e) {
          DraggableHandler handler = DraggableHandler.getInstance(e);
          if (handler != null) {
            GWT.log("Select automatic selected element " + e.getId());
View Full Code Here

Examples of org.apache.kahadb.util.Sequence.each()

     * @throws RuntimeException
     */
    private void freePages(SequenceSet list) throws RuntimeException {
        Sequence seq = list.getHead();
        while( seq!=null ) {
            seq.each(new Sequence.Closure<RuntimeException>(){
                public void execute(long value) {
                    pageFile.freePage(value);
                }
            });
            seq = seq.getNext();
View Full Code Here

Examples of org.jolokia.backend.executor.MBeanServerExecutor.each()

        init();
        try {
            ObjectName oName = new ObjectName(handler.getObjectName());
            MBeanServerExecutor servers = handler.getMBeanServerManager();
            final List<Boolean> results = new ArrayList<Boolean>();
            servers.each(oName, new MBeanServerExecutor.MBeanEachCallback() {
                public void callback(MBeanServerConnection pConn, ObjectName pName)
                        throws ReflectionException, InstanceNotFoundException, IOException, MBeanException {
                    results.add(pConn.isRegistered(pName));
                }
            });
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.