Examples of assign()


Examples of org.jwildfire.create.tina.base.motion.MotionCurve.assign()

    // motionCurves
    motionCurves.clear();
    for (String name : var.motionCurves.keySet()) {
      MotionCurve copy = new MotionCurve();
      copy.assign(var.motionCurves.get(name));
      motionCurves.put(name, copy);
    }

    // params
    {
View Full Code Here

Examples of org.jwildfire.create.tina.variation.Variation.assign()

    hasPostCoeffs = pXForm.hasPostCoeffs;
    hasCoeffs = pXForm.hasCoeffs;
    variations.clear();
    for (Variation var : pXForm.variations) {
      Variation newVar = new Variation();
      newVar.assign(var);
      variations.add(newVar);
    }
    System.arraycopy(pXForm.modifiedWeights, 0, modifiedWeights, 0, pXForm.modifiedWeights.length);
    opacity = pXForm.opacity;
    opacityCurve.assign(pXForm.opacityCurve);
View Full Code Here

Examples of org.objectweb.speedo.pobjects.basic.BasicType.assign()

    }

    public void testBasicType(long longval) {
        logger.log(BasicLevel.DEBUG, "testBasicType" + longval);
        BasicType bt = new BasicType();
      bt.assign(longval);
        PersistenceManager pm = pmf.getPersistenceManager();

        pm.currentTransaction().begin();
        pm.makePersistent(bt);
      Object oid = pm.getObjectId(bt);
View Full Code Here

Examples of org.omegahat.Environment.Databases.Database.assign()

Database db = new EvaluationFrame("<OmegaInterfaceManager evaluation frame>");
int n = Math.min(args.length, argNames.length);

try {
   for(int i = 0; i < n ; i++) {
    db.assign(argNames[i], args[i]);
   }
} catch(Exception ex) {
    ex.printStackTrace();
}
View Full Code Here

Examples of org.omegahat.Environment.Databases.EvaluationFrame.assign()

Database db = new EvaluationFrame("<OmegaInterfaceManager evaluation frame>");
int n = Math.min(args.length, argNames.length);

try {
   for(int i = 0; i < n ; i++) {
    db.assign(argNames[i], args[i]);
   }
} catch(Exception ex) {
    ex.printStackTrace();
}
View Full Code Here

Examples of org.onemind.commons.java.datastructure.NametableStack.assign()

     * @return the value assigned
     */
    protected Object assignVariable(String name, Object value)
    {
        NametableStack ntStack = getCurrentContext().getNametableStack();
        ntStack.assign(name, value);
        return value;
    }

    /**
     * Call the function of the processor. Call predefined print or println if the method name matched. Otherwise, reflection will
View Full Code Here

Examples of org.rosuda.JRI.Rengine.assign()

          System.out.println("");
      }
     
      // push a boolean array
      boolean by[] = { true, false, false };
      re.assign("bool", by);
      System.out.println(x=re.eval("bool"));
      // asBool returns the first element of the array as RBool
      // (mostly useful for boolean arrays of the length 1). is should return true
      System.out.println("isTRUE? "+x.asBool().isTRUE());
View Full Code Here

Examples of org.rosuda.REngine.Rserve.RConnection.assign()

    RConnection rConnection = null;
    double[][] result;
    try
    {
      rConnection = getRConnection();
      rConnection.assign("data", getREXP(data));
     
      String script = "normalized <- t(as.matrix(sapply(data, function(x) {(x - min(x, na.rm=TRUE))/(max(x, na.rm=TRUE)- min(x, na.rm=TRUE))})))";
     
      rConnection.eval(script);
     
View Full Code Here

Examples of wyvern.tools.typedAST.core.binding.evaluation.VarValueBinding.assign()

  @Override
  public void evalDecl(Environment evalEnv, Environment declEnv) {
    VarValueBinding vb = (VarValueBinding) declEnv.lookup(binding.getName());
    if (definition == null) {
            vb.assign(null);
      return;
    }
    Value defValue = definition.evaluate(evalEnv);
    vb.assign(defValue);
  }
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.