Examples of copy()


Examples of rocket.generator.rebind.method.Method.copy()

      this.throwIncompatibleMethodFound(asyncMethod);
    }
    context.debug("Found matching async interface method: " + asyncMethod);

    // create the method on client...
    final NewMethod newMethod = asyncMethod.copy(client);
    newMethod.setAbstract(false);
    newMethod.setFinal(true);

    // rename all parameters to parameterN
    GeneratorHelper.renameParametersToParameterN(newMethod);
View Full Code Here

Examples of rocket.generator.rebind.methodparameter.MethodParameter.copy()

    method.setNative(false);

    final Iterator<MethodParameter> parameters = this.getParameters().iterator();
    while (parameters.hasNext()) {
      final MethodParameter parameter = parameters.next();
      method.addParameter(parameter.copy());
    }

    method.setReturnType(this.getReturnType());
    method.setStatic(this.isStatic());
View Full Code Here

Examples of st.gravel.support.compiler.jvm.JVMStack.copy()

    _oldStack = _stack;
    _oldInstructions = _instructions;
    _oldLocals = _locals;
    _locals = st.gravel.support.jvm.DictionaryExtensions.copy(_oldLocals);
    _instructions = new java.util.ArrayList();
    _stack = _oldStack.copy();
    _aBlock.value();
    _frame = Frame.factory.instructions_endStack_(_instructions.toArray(new JVMInstruction[_instructions.size()]), _stack);
    _stack = _oldStack;
    _instructions = _oldInstructions;
    _locals = _oldLocals;
View Full Code Here

Examples of stallone.api.doubles.IDoubleArray.copy()

            IDoubleArray current = it.next();

            // do we have this index?
            if (Arrays.binarySearch(sortedIndexes, i) >= 0)
            {
                clusterCenters.add(current.copy());
            }


            this.assignments.add(-1);
View Full Code Here

Examples of sw_digitalworks.Model.Component.copy()

     * @throws IOException
     */
    private void cloneComposite() throws FileNotFoundException, IOException {
        if (Main.Components.containsKey(command) && Pattern.matches("\\(\\d{1,4}\\,\\d{1,4}\\)", param1)) {
            Component composite = Main.Components.get(command);
            Composit newcomp = (Composit)composite.copy();
            Main.controller.getDisplayView().addComponentView(new CompositeView(getPosX(param1),getPosY(param1),newcomp));
            System.out.println(newcomp.getName() + " CREATED a copy of " + composite.getName());
            output += newcomp.getName() + " CREATED a copy of " + composite.getName() + "\n";
        } else if (Main.Components.containsKey(command) && param1.equals("")){
            Component composite = Main.Components.get(command);
View Full Code Here

Examples of tables.Dim.copy()

          displayPercentage = currentPercentage;
          JEXStatics.statusBar.setStatusText("Defragging ARFFs: " + displayPercentage + "%");
        }
      }
      DimTable outputDimTable = new DimTable();
      outputDimTable.add(splitDim.copy());
      return new Table<String>(outputDimTable, filePaths);
    }
    catch (Exception e)
    {
      e.printStackTrace();
View Full Code Here

Examples of thaumcraft.api.aspects.AspectList.copy()

            addItemAspect(EnumMachineBeta.BOILER_TANK_HIGH_PRESSURE.getItem(), steamAspects.copy().add(Aspect.ENERGY, 2));
            addItemAspect(EnumMachineBeta.ENGINE_STEAM_HOBBY.getItem(), steamAspects.copy().add(Aspect.ENERGY, 4));
            addItemAspect(EnumMachineBeta.ENGINE_STEAM_LOW.getItem(), steamAspects.copy().add(Aspect.ENERGY, 4));
            addItemAspect(EnumMachineBeta.ENGINE_STEAM_HIGH.getItem(), steamAspects.copy().add(Aspect.ENERGY, 4));

            addItemAspect(EnumMachineAlpha.TANK_WATER.getItem(), tankAspects.copy().add(Aspect.TREE, 2).add(Aspect.SLIME, 2));

            AspectList ironTankAspects = tankAspects.copy().add(Aspect.METAL, 2);
            addItemAspect(EnumMachineBeta.TANK_IRON_GAUGE.getItem(), ironTankAspects);
            addItemAspect(EnumMachineBeta.TANK_IRON_VALVE.getItem(), ironTankAspects);
            addItemAspect(EnumMachineBeta.TANK_IRON_WALL.getItem(), ironTankAspects);
View Full Code Here

Examples of toxi.geom.Vec2D.copy()

  public void mouseDragged(float mouseX, float mouseY) {
    Vec2D v = GLOBAL.uiTools.getPointOnPlane(new Vec2D(mouseX, mouseY),
        this.getPlane());
    this.getSketch().mouseDragged(v.x, v.y);
    if (SETTINGS.DEBUG) {
      debugMousePoint = v.copy();
    }
  }

  public void mousePressed(float mouseX, float mouseY) {
    Vec2D v = GLOBAL.uiTools.getPointOnPlane(new Vec2D(mouseX, mouseY),
View Full Code Here

Examples of toxi.geom.Vec3D.copy()

                percentReturn.x = (p12D.x * (1 - percentBetween))
                    + (p22D.x * (percentBetween));
                percentReturn.y = (p12D.y * (1 - percentBetween))
                    + (p22D.y * (percentBetween));
                returnVec3D = intersect.copy();

                //if(neartestDist > .2f)
                //  returnVec3D = null;
                // System.out.println(percent +" P");
                //LOGGER.info("percent "+percentBetween);
View Full Code Here

Examples of uk.ac.cam.ch.wwmm.ptclib.scixml.SciXMLDocument.copy()

      Element e = (Element)n.get(i);
      e.addAttribute(new Attribute("surface", e.getValue()));
    }
   
    SciXMLDocument inlineDoc = SciXMLDocument.makeFromDoc(new Builder().build(sourceFile));
    Document sourceDoc = (Document)inlineDoc.copy();
    PaperToScrapBook.importAnnotations(this, inlineDoc);
    new Serializer(new FileOutputStream(destFile)).write(inlineDoc);
    Document safDoc = InlineToSAF.extractSAFs(inlineDoc, sourceDoc, name);
    SciBorgPostProcess.postProcess(safDoc, false);
    SafTools.numberSaf(safDoc, "oscar", "o");
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.