Examples of evaluate()


Examples of org.asturlinux.frade.currin.program.type.CurrinRef.evaluate()

  logger.debug("Primitive 62 62 ");

  CurrinRef action1 = (CurrinRef)_param_refs.get(0);
  //evaluateSubExpr(m, action1);
  while (!action1.inHNF() ) {
      action1.evaluate(m);
  }
  CurrinRef action2 = (CurrinRef)_param_refs.get(1);
  //evaluateSubExpr(m, action2);
  while (!action2.inHNF() ) {
      action2.evaluate(m);

Examples of org.auraframework.expression.Expression.evaluate()

        super(name);
    }

    public void testNumberExpression() throws Exception {
        Expression e = new FunctionCallImpl(ADD, ImmutableList.<Expression> of(i314, i235325), l);
        Object o = e.evaluate(values);
        assertEquals(314 + 235325, o);

        // (i314 + i235325) - (i314 + i314)
        e = new FunctionCallImpl(SUBTRACT, ImmutableList.<Expression> of(e,
                new FunctionCallImpl(ADD, ImmutableList.<Expression> of(i314, i314), l)), l);

Examples of org.boris.expr.IExprFunction.evaluate()

    }

    public Expr evaluate(String name, Expr[] args) throws ExprException {
        IExprFunction ef = functions.get(name.toUpperCase());
        if (ef != null)
            return ef.evaluate(args);
        return null;
    }

    public boolean hasFunction(ExprFunction function) {
        return functions.containsKey(function.getName().toUpperCase());

Examples of org.broad.igv.ui.TrackFilter.evaluate()

        } else {
            TrackFilter filter = trackFilterPane.getFilter();
            IGV.getInstance().getSession().setFilter(filter);
            // Evaluate the filter elements
            filter.evaluate();
        }

    }

    public void resetTrackFilter() {

Examples of org.broad.igv.util.FilterElement.evaluate()

                // Evaluate tracks
                Iterator iterator = getFilterElements();
                while (iterator.hasNext()) {

                    FilterElement element = (FilterElement) iterator.next();
                    result = element.evaluate(track, result);
                }
                track.setVisible(result);
            }
        }
    }

Examples of org.camunda.bpm.engine.impl.Condition.evaluate()

    while (outgoingSeqFlow == null && transitionIterator.hasNext()) {
      PvmTransition seqFlow = transitionIterator.next();
     
      Condition condition = (Condition) seqFlow.getProperty(BpmnParse.PROPERTYNAME_CONDITION);
      if ( (condition == null && (defaultSequenceFlow == null || !defaultSequenceFlow.equals(seqFlow.getId())) )
              || (condition != null && condition.evaluate(execution)) ) {
        if (log.isLoggable(Level.FINE)) {
          log.fine("Sequence flow '" + seqFlow.getId() + " '"
                  + "selected as outgoing sequence flow.");
        }
        outgoingSeqFlow = seqFlow;

Examples of org.camunda.bpm.engine.impl.cmmn.CaseControlRule.evaluate()

    CmmnActivity activity = execution.getActivity();

    Object requiredRule = activity.getProperty(PROPERTY_REQUIRED_RULE);
    if (requiredRule != null) {
      CaseControlRule rule = (CaseControlRule) requiredRule;
      boolean required = rule.evaluate(execution);
      execution.setRequired(required);
    }
  }

  protected void evaluateRepetitionRule(CmmnActivityExecution execution) {

Examples of org.codehaus.commons.compiler.jdk.ExpressionEvaluator.evaluate()

        new String[] { "c", "d" }, // parameterNames
        new Class[] { int.class, int.class } // parameterTypes
    );

    // Evaluate it with varying parameter values; very fast.
    return  (Integer) ee.evaluate(new Object[] { // parameterValues
        new Integer(10), new Integer(11), });
  }
}

Examples of org.codehaus.janino.ExpressionEvaluator.evaluate()

        new String[] { "c", "d" }, // parameterNames
        new Class[] { int.class, int.class } // parameterTypes
    );

    // Evaluate it with varying parameter values; very fast.
    return  (Integer) ee.evaluate(new Object[] { // parameterValues
        new Integer(10), new Integer(11), });
  }
}

Examples of org.codehaus.janino.ScriptEvaluator.evaluate()

                  parameterNames,
                  parameterTypes
              );

              // Evaluate script with actual parameter values.
          result = se.evaluate(parameterValues);
         
          if(result instanceof UEngineException){           
            throw (UEngineException)result;           
          }
    }
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.