Examples of transform()


Examples of br.com.six2six.fixturefactory.transformer.TransformerChain.transform()

      Class<?> fieldType = ReflectionUtils.invokeRecursiveType(templateHolder.getClazz(), parameterName);
      Object result = arguments.get(parameterName);
      if (result == null) {
        result = processChainedProperty(parameterName, fieldType, arguments)
      }
      values.add(transformerChain.transform(result, fieldType));
    }
    return values;
  }

  protected Object processChainedProperty(String parameterName, Class<?> fieldType, Map<String, Object> arguments) {

Examples of br.net.woodstock.rockframework.text.impl.LPadTransformer.transform()

  public static String toStringHTML(final Color c) {
    StringBuilder b = new StringBuilder();
    LPadTransformer transform = new LPadTransformer(2, '0');
    b.append("#");
    b.append(transform.transform(Integer.toHexString(c.getRed()).toUpperCase()));
    b.append(transform.transform(Integer.toHexString(c.getGreen()).toUpperCase()));
    b.append(transform.transform(Integer.toHexString(c.getBlue()).toUpperCase()));
    return b.toString();
  }

Examples of br.net.woodstock.rockframework.util.LPadTransformer.transform()

  public static String toStringHTML(final Color c) {
    StringBuilder b = new StringBuilder();
    LPadTransformer transform = new LPadTransformer(2, '0');
    b.append("#");
    b.append(transform.transform(Integer.toHexString(c.getRed()).toUpperCase()));
    b.append(transform.transform(Integer.toHexString(c.getGreen()).toUpperCase()));
    b.append(transform.transform(Integer.toHexString(c.getBlue()).toUpperCase()));
    return b.toString();
  }

Examples of ca.eandb.jmist.framework.ScatteredRay.transform()

  /* (non-Javadoc)
   * @see ca.eandb.jmist.framework.path.PathNode#sample(ca.eandb.jmist.framework.Random)
   */
  public ScatteredRay sample(double ru, double rv, double rj) {
    ScatteredRay sr = inner.sample(ru, rv, rj);
    return sr != null ? sr.transform(localToWorld) : null;
  }

  /* (non-Javadoc)
   * @see ca.eandb.jmist.framework.path.PathNode#scatter(ca.eandb.jmist.math.Vector3)
   */
 

Examples of ca.eandb.jmist.framework.scene.TransformableSceneElement.transform()

      e.rotateZ(Math.toRadians(angle));

      e.translate(insertionPoint.vectorFromOrigin());
      Basis3 basis = DxfUtil.getBasisFromArbitraryAxis(extrusionDir);
      AffineMatrix3 T = AffineMatrix3.fromColumns(basis.u(), basis.v(), basis.w());
      e.transform(T);


      if (state.currentSection.equals("ENTITIES")) {
        state.root.addChild(block.root instanceof BoundingIntervalHierarchy ? new CollapseSceneElement(e) : e);
      }

Examples of cascading.flow.planner.iso.transformer.ContractedTransformer.transform()

    flowElementGraph.writeDOT( getPlanPath() + "/mergejoin.dot" );

    ContractedTransformer transformer = new ContractedTransformer( new TestNoGroupTapExpressionGraph() );

    Transformed<ElementGraph> transformed = transformer.transform( plannerContext, flowElementGraph );

    transformed.writeDOTs( getPlanPath() + "/transform/" );

    SubGraphIterator iterator = new ExpressionSubGraphIterator(
      new PlannerContext(),

Examples of cascading.flow.planner.iso.transformer.RemoveBranchGraphTransformer.transform()

      {
      ElementGraph next = iterator.next();
      assertNotNull( next );
      next.writeDOT( getPlanPath() + "/pipeline/" + count + "-graph.dot" );

      Transformed<ElementGraph> result = removeTransformer.transform( next );

      result.getEndGraph().writeDOT( getPlanPath() + "/pipeline/" + count + "-cleaned-graph.dot" );

      count++;
      }

Examples of cascading.flow.planner.rule.transformer.RuleInsertionTransformer.transform()

    ruleRegistry.addElementFactory( NonTapFactory.TEMP_TAP, new NonTapFactory() );

    PlannerContext plannerContext = new PlannerContext( ruleRegistry, null, null, null, true );

    RuleInsertionTransformer ruleTempTapInsertionTransformer = new RuleInsertionTransformer( PlanPhase.PreResolveAssembly, ruleExpression, IntermediateTapElementFactory.TEMP_TAP );
    Transformed<ElementGraph> insertionTransformed = ruleTempTapInsertionTransformer.transform( plannerContext, flowElementGraph );

    insertionTransformed.writeDOTs( getPlanPath() );

    return insertionTransformed.getEndGraph();
    }

Examples of cc.redberry.core.parser.preprocessor.ChangeIndicesTypesAndTensorNames.transform()

                        return old.getName();
                }
            }
        });

        Expression pairProduct = (Expression) tokenTransformer.transform(pairProductToken).toTensor();
        if (dimension instanceof Complex)
            pairProduct = (Expression) parseExpression("N = " + dimension).transform(pairProduct);
        this.pairProduct = pairProduct;

        this.singleTrace = (Expression) tokenTransformer.transform(singleTraceToken).toTensor();

Examples of cc.redberry.core.tensor.Expression.transform()

        Expression F = Tensors.parseExpression("F_lmab=R_lmab");


        Expression lambda = Tensors.parseExpression("k=gamma/(1+gamma)");
        Expression gamma = Tensors.parseExpression("c=gamma");
        iK = (Expression) gamma.transform(lambda.transform(iK));
        K = (Expression) gamma.transform(lambda.transform(K));
        S = (Expression) gamma.transform(lambda.transform(S));
        W = (Expression) gamma.transform(lambda.transform(W));

        OneLoopInput input = new OneLoopInput(2, iK, K, S, W, null, null, F);
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.