Examples of copy()


Examples of org.json.Kim.copy()

        this.substringkeep.reserve();
        while (true) {
            if (one) {
                from = thru;
                kim = (Kim) getAndTick(this.substringkeep, this.bitreader);
                thru = kim.copy(bytes, from);
                if (previousFrom != none) {
                    this.substringkeep.registerOne(new Kim(bytes, previousFrom,
                            previousThru + 1));
                }
                previousFrom = from;
View Full Code Here

Examples of org.jwildfire.base.mathlib.Complex.Copy()

        T.Copy(z);
        T.Scale(zee / (cern.jet.math.Arithmetic.longFactorial(i)));
        LiN.Add(T);
      }
      if (i == N - 1) {
        zPl1.Copy(z);
      }
      z.NextPow();
    }
    z.Restore(); // back to log(z) again...
    z.Neg();
View Full Code Here

Examples of org.kitesdk.morphline.api.Record.copy()

         
          if (doPrevious) { // do previous
            lines.append('\n');
            lines.append(line);
          } else {          // do next
            if (lines.length() > 0 && !flushRecord(template.copy(), lines.toString())) {
              return false;
            }
            lines.setLength(0);
            lines.append(line);             
          }
View Full Code Here

Examples of org.mindswap.pellet.DependencySet.copy()

 
          updatedList.add( tDS.getDepends() );
 
          // update branch if necessary
          if( tDS.getBranch() > branch.getBranch().getBranch() ) {
            tDS = tDS.copy( tDS.getBranch() - 1 );
          }
 
          for( int i = branch.getBranch().getBranch(); i <= kb.getABox().getBranches().size(); i++ ) {
            // update dependency set
            if( tDS.contains( i ) ) {
View Full Code Here

Examples of org.mindswap.pellet.KnowledgeBase.copy()

    kb.addIndividual( b );

    kb.addType( a, C );

    // copy before ConsistencyDone
    assertFalse( kb.copy().isConsistencyDone() );
   
    // do the first consistency test
    assertTrue( kb.isConsistent() );

    // create a copy of the KB (note that the copy
View Full Code Here

Examples of org.nasutekds.quicksetup.util.FileManager.copy()

   * ADS backend file.
   */
  public void migrateADS(File newADSFile) throws ApplicationException
  {
    FileManager fileManager = new FileManager();
    fileManager.copy(newADSFile, installation.getConfigurationDirectory(),
        true);
  }


  /**
 
View Full Code Here

Examples of org.newdawn.slick.geom.Vector2f.copy()

        PositionComponent posComp = (PositionComponent) getSiblingByType(PositionComponent.class.getName());
        if(posComp != null){
          Vector2f pos = posComp.getVector();
          if(pos != null && centreOfOrbit != null && !pos.equals(centreOfOrbit)){
            TimePassedEvent t = (TimePassedEvent) e;
            posComp.setVector(VectorUtil.rotateAround(pos.copy(), centreOfOrbit, t.getDelta()*orbitalVelocity));
          }
        }
      }
    }
  } 
 
View Full Code Here

Examples of org.openbp.jaspira.gui.plugin.VisiblePlugin.copy()

    public JaspiraEventHandlerCode copy(JaspiraActionEvent je)
    {
      VisiblePlugin target = PluginFocusMgr.getInstance().getFocusedPlugin();
      if (target != null && target.canCopy())
      {
        ClipboardMgr.getInstance().addEntry(target.copy());

        return EVENT_CONSUMED;
      }

      return EVENT_IGNORED;
View Full Code Here

Examples of org.openide.filesystems.FileObject.copy()

                LOGGER.log(Level.WARNING, null, ex);
            }
        }
        FileObject suite = FileUtil.getConfigFile(CONFIG_NET_BEANS_SUITE_PHP);
        try {
            suite.copy(nbproject, NET_BEANS_SUITE, "php"); // NOI18N
            messages.put(NET_BEANS_SUITE, SUCCESS_MSG);
        } catch (IOException ex) {
            LOGGER.log(Level.WARNING, null, ex);
            messages.put(NET_BEANS_SUITE, FAIL_MSG);
        }
View Full Code Here

Examples of org.openpixi.pixi.physics.particles.ParticleFull.copy()

    p.setVx(12.345);
    p.setVy(76.543);
    p.setMass(7.654);
    p.setCharge(5.432);

    Particle pcopy = p.copy();

    solver.prepare(p, f, step);
    solver.complete(p, f, step);

    assertAlmostEquals("x", pcopy.getX(), p.getX(), ACCURACY_LIMIT);
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.