Examples of Pair


Examples of org.openquark.util.Pair

   * f2S
   * This method implements the function logic of the CAL function Cal.Samples.DirectedGraphLibrary.makePair
   */
  public final RTValue f2S(java.lang.Object $x0, java.lang.Object $x1, RTExecutionContext $ec) throws CALExecutorException {
    // Top level supercombinator logic
    return RTData.CAL_Opaque.make(new Pair($x0, $x1));
  }
View Full Code Here

Examples of org.zkoss.util.Pair

  /** Returns the method for handling the specified event, or null
   * if not available.
   */
  public static final Method getEventMethod(Class cls, String evtnm) {
    final Pair key = new Pair(cls, evtnm);
    final Object o = _evtmtds.get(key);
    if (o != null)
      return o == Objects.UNKNOWN ? null: (Method)o;

    Method mtd = null;
View Full Code Here

Examples of project.gluebooster.basics.structure.math.Pair


  private DefaultMutableTreeNode createNode(Doc doc)
  {
    //System.out.println("handle " + doc.name());
    Pair pair = new Pair();
    pair.setFirst(doc);
    pair.setSecond(new ArrayList<String>());
   
    DefaultMutableTreeNode node = new DefaultMutableTreeNode(pair);
    doc2node.put(doc, node);
    return node;
  }
View Full Code Here

Examples of pt.opensoft.util.Pair

     * ATEN��O: Este m�todo N�O FAZ urlencode. � necess�rio faz�-lo previamente.
     * @param name
     * @param value
     */
    public void addParameter(String name, String value) {
        _parameters.add(new Pair(name, value));
    }
View Full Code Here

Examples of railo.commons.lang.Pair

    String name;
    while(e.hasMoreElements()){
      name=(String) e.nextElement();
      ee=req.getHeaders(name);
      while(ee.hasMoreElements()){
        headers.add(new Pair(name,ee.nextElement().toString()));
      }
    }
    return (Pair[]) headers.toArray(new Pair[headers.size()]);
  }
View Full Code Here

Examples of railo.transformer.bytecode.statement.Condition.Pair

      return false;
    }
     
    Position line = data.cfml.getPosition();
    Body body=new BodyBase();
    Pair pair = cont.addElseIf(condition(data), body, line,null);

    if(!data.cfml.forwardIfCurrent(')'))
      throw new TemplateException(data.cfml,"else if statement must end with a [)]");
    // ex block
    statement(data,body,CTX_ELSE_IF);
View Full Code Here

Examples of sisc.data.Pair

   * @return a <code>Pair</code> value representing the entry, or
   * <tt>FALSE</tt> if no such entry is present.
   */
  static public Value assq (Value l, Value v)
  {
    Pair list = pair(l);
    while (list != EMPTYLIST) {
      Pair entry = pair(list.car);
      if (entry.car.eq(v))
        return entry;
      list = pair(list.cdr);
    }
    return FALSE;
View Full Code Here

Examples of sisc.data.Pair

  {
    Parameters params = emptyParam;

    if (!sparams.eq(FALSE)) {
      params = new Parameters();
      Pair sparamValues = pair(pair(sparams).cdr);
      while (sparamValues != EMPTYLIST) {
        Pair entry = pair(sparamValues.car);
        String name = string(entry.car);
        String value = string(entry.cdr);
        params.setParameter(name, value);
        sparamValues = pair(sparamValues.cdr);
      }
View Full Code Here

Examples of soot.toolkits.scalar.Pair

    final public Node getNode() {
  return (Node) getResult();
    }
    final public Node caseThis() {
  VarNode ret = pag.makeLocalVarNode(
        new Pair( method, PointsToAnalysis.THIS_NODE ),
        method.getDeclaringClass().getType(), method );
        ret.setInterProcTarget();
        return ret;
    }
View Full Code Here

Examples of soot.toolkits.scalar.Pair

    final public void caseArrayRef( ArrayRef ar ) {
      caseLocal( (Local) ar.getBase() );
  setResult( caseArray( (VarNode) getNode() ) );
    }
    final public void caseCastExpr( CastExpr ce ) {
  Pair castPair = new Pair( ce, PointsToAnalysis.CAST_NODE );
  ce.getOp().apply( this );
  Node opNode = getNode();
  Node castNode = pag.makeLocalVarNode( castPair, ce.getCastType(), method );
  mpag.addInternalEdge( opNode, castNode );
  setResult( castNode );
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.