Examples of clone()


Examples of de.iritgo.aktera.persist.ModuleVersion.clone()

            try
            {
              con = dataSourceComponent.getConnection();
              updateHandler.setConnection(con);
              updateHandler.updateDatabase(request, logger, con, pf, (ModuleVersion) currentVersion
                      .clone(), newVersion);
            }
            finally
            {
              con.close();
View Full Code Here

Examples of de.jetwick.util.MyDate.clone()

            String name = ElasticTweetSearch.DATE_FACET;
            RangeFacetBuilder rfb = FacetBuilders.rangeFacet(name).field(ElasticTweetSearch.DATE);
            MyDate date = new MyDate();

            // latest
            rfb.addUnboundedTo(Helper.toLocalDateTime(date.clone().minusHours(8).castToHour().toDate()));
            // first day           
            rfb.addUnboundedTo(Helper.toLocalDateTime(date.castToDay().toDate()));

            for (int i = 0; i < 7; i++) {
                // 'from' must be smaller than 'to'!
View Full Code Here

Examples of de.lmu.ifi.dbs.elki.visualization.VisualizationTask.clone()

    // TODO: center/arrange visualizations?
    for(Iterator<VisualizationTask> tit = visi.tasks.iterator(); tit.hasNext();) {
      VisualizationTask task = tit.next();
      if(VisualizerUtil.isVisible(task)) {
        try {
          Visualization v = task.getFactory().makeVisualization(task.clone(this, context, visi.proj, width, height));
          layers.add(v);
          layermap.put(task, v);
        }
        catch(Exception e) {
          if(Logging.getLogger(task.getFactory().getClass()).isDebugging()) {
View Full Code Here

Examples of de.novanic.eventservice.service.connection.strategy.connector.streaming.StreamingServerConnector.clone()

        if(theConnectionStrategyServerConnector instanceof StreamingServerConnector) {
            final String theClientId = getClientId(aRequest);
            StreamingServerConnector theStreamingServerConnector = (StreamingServerConnector)theConnectionStrategyServerConnector;
            try {
                //The streaming server connector has to be cloned, because it isn't stateless (a prepare method is required).
                theStreamingServerConnector = (StreamingServerConnector)theStreamingServerConnector.clone();
                theStreamingServerConnector.prepare(aResponse);
                listen(theStreamingServerConnector, theClientId);
            } catch(EventServiceException e) {
                throw new ServletException("Error on streaming events to the client\"" + theClientId + "\"!", e);
            } catch(CloneNotSupportedException e) {
View Full Code Here

Examples of de.willuhn.jameica.gui.util.SimpleContainer.clone()

          // Spalten konnen mehrfach zugeordnet werden.
          // Daher verwenden wir einen Clone. Andernfalls wuerden
          // wir nur die letzte Zuordnung speichern
          try
          {
            c = (Column) c.clone();
          }
          catch (CloneNotSupportedException e) {/*dann halt nicht */}
         
          // Spaltennummer speichern
          c.setColumn(i);
View Full Code Here

Examples of de.willuhn.jameica.hbci.io.csv.Column.clone()

          // Spalten konnen mehrfach zugeordnet werden.
          // Daher verwenden wir einen Clone. Andernfalls wuerden
          // wir nur die letzte Zuordnung speichern
          try
          {
            c = (Column) c.clone();
          }
          catch (CloneNotSupportedException e) {/*dann halt nicht */}
         
          // Spaltennummer speichern
          c.setColumn(i);
View Full Code Here

Examples of eas.math.geometry.Polygon2D.clone()

//                Vector2D realPosition = super.getPointInVisualization(position);
//                double scale = super.globalScale();
//                shape = new Polygon2D(shape);
//                shape.scale(new Vector2D(0, 0), new Vector2D(scale, scale));
//                shape.translate(realPosition);
                shape = (Polygon2D) shape.clone();
                shape.translate(this.gridObjectPositions.get(go));
               
                shape = this.getPolygonInVisualization(shape);
               
                Color objectColor = go.getAgentColor();
View Full Code Here

Examples of eas.users.lukas.tnt.propositionalCalculus.Negation.clone()

    @SuppressWarnings(value = { "all" })
    public static void main(String[] args) throws CloneNotSupportedException {
        Variable a = new Variable(0), b = new Variable(1), c = new Variable(2);
        Variable d = new Variable(3), e = new Variable(4), f = new Variable(5);
        Statement s1 = new Negation(new Exists(new Exists(new Exists(new Equality(new Multiplication(new Multiplication(a, a), a), new Addition(new Multiplication(new Multiplication(new Addition(b, new Number(1)), new Addition(b, new Number(1))), new Addition(b, new Number(1))), new Multiplication(new Multiplication(new Addition(c, new Number(1)), new Addition(c, new Number(1))), new Addition(c, new Number(1))))), c), b), a));
        Statement s2 = s1.clone();
        s1 = new Disjunction(new Conjunction(s1.clone(), s1.clone()), s1.clone());
        Statement s3 = s2.clone();
        renameVarConsistently(s3, a.clone(), d.clone());
        renameVarConsistently(s3, b.clone(), e.clone());
        renameVarConsistently(s3, c.clone(), f.clone());
View Full Code Here

Examples of ecar.pojo.ItemEstruturaIett.clone()

            List iettFilhos = this.getDescendentes(itemEstrutura, false);

            for (Iterator it = iettFilhos.iterator(); it.hasNext();) {
          ItemEstruturaIett itemEstruturaFilho = (ItemEstruturaIett) it.next();
         
          old = (ItemEstruturaIett) itemEstruturaFilho.clone();
         
                /***Historico***/
                historico.gerarHistorico(old);
                /***Historico***/       

 
View Full Code Here

Examples of edu.harvard.fas.zfeledy.fiximulator.core.Execution.clone()

        row = executionTable.convertRowIndexToModel(row);
        Execution execution =
                FIXimulator.getApplication().getExecutions().getExecution(row);
        if ( execution.getExecType().equals("Fill") ||
             execution.getExecType().equals("Partial fill")) {
            dialogExecution = execution.clone();
            executionDialogShares.setValue(execution.getLastShares());
            executionDialogPrice.setValue(execution.getLastPx());
            executionDialog.pack();
            executionDialog.setVisible(true);
        } else {
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.