Examples of perform()


Examples of org.eclipse.ltk.core.refactoring.Change.perform()

            HaxeRenameProcessor processor = getAppropriateProcessor(node, newName);
            Change change = processor.createChange(null);
            IProgressMonitor monitor = new NullProgressMonitor();
            if (processor.checkFinalConditions(monitor, null).isOK())
            {
                change.perform(monitor);               
            }
        }
        catch (ClassCastException  e)
        {
            System.out.println(e.getMessage());
View Full Code Here

Examples of org.encog.ml.data.versatile.division.PerformDataDivision.perform()

      throw new EncogError(
          "Can't divide, data has not yet been generated/normalized.");
    }

    PerformDataDivision divide = new PerformDataDivision(shuffle, rnd);
    divide.perform(dataDivisionList, this, getCalculatedInputSize(),
        getCalculatedIdealSize());

  }

  /**
 
View Full Code Here

Examples of org.encog.neural.networks.training.concurrent.performers.ConcurrentTrainingPerformer.perform()

    int count = 0;
    for (final TrainingJob job : this.queue) {
      // find a performer
      final ConcurrentTrainingPerformer perform = waitForFreePerformer();
      perform.perform(job);
      count++;
      reportErrors();
    }

    // now wait for all performers to finish
View Full Code Here

Examples of org.encog.workbench.tabs.ValidationChart.perform()

      TrainBasicNetwork t = new TrainBasicNetwork(null,null);
      t.performTrain();
    } else if (event.getActionCommand().equals(
        EncogMenus.TOOLS_VALIDATION_CHART)) {
      ValidationChart check = new ValidationChart();
      check.perform(EncogWorkBench.getInstance().getMainWindow());
    } else if (event.getActionCommand().equals(EncogMenus.TOOLS_BIN2EXTERNAL)) {
      ImportExport.performBin2External();
    } else if (event.getActionCommand().equals(EncogMenus.TOOLS_EXTERNAL2BIN)) {
      ImportExport.performExternal2Bin(null,null,null);
    } else if (event.getActionCommand().equals(EncogMenus.TOOLS_RBF)) {
View Full Code Here

Examples of org.exoplatform.portal.mop.importer.NavigationImporter.perform()

        //
        NavigationImporter merge = new NavigationImporter(locale, importMode, navigation, navigationService_,
                descriptionService_);

        //
        merge.perform();
    }

    private final Pattern OWNER_PATTERN = Pattern.compile("@owner@");

    /**
 
View Full Code Here

Examples of org.exoplatform.portal.mop.importer.PageImporter.perform()

            RequestLifeCycle.begin(PortalContainer.getInstance());
            try { //
                ImportMode importMode = getRightMode(config.getImportMode());

                PageImporter importer = new PageImporter(importMode, page, dataStorage_, pageService_);
                importer.perform();
            } finally {
                RequestLifeCycle.end();
            }
        }
    }
View Full Code Here

Examples of org.exoplatform.portal.mop.importer.PortalConfigImporter.perform()

        ImportMode importMode = getRightMode(config.getImportMode());

        PortalConfigImporter portalImporter = new PortalConfigImporter(importMode, pConfig, dataStorage_);
        try {
            portalImporter.perform();
            return true;
        } catch (Exception ex) {
            log.error("An Exception occured when creating the Portal Configuration. Exception message: " + ex.getMessage(), ex);
            return false;
        }
View Full Code Here

Examples of org.fusesource.hawtjournal.api.Journal.WriteBatch.perform()

                        lastAppendDataFile = wb.getDataFile();
                        lastAppendRaf = lastAppendDataFile.openRandomAccessFile();
                    }

                    // perform batch:
                    Location latest = wb.perform(lastAppendRaf, journal.getReplicationTarget(), journal.isChecksum());

                    // Adjust journal length and pointers:
                    journal.addToTotalLength(wb.getSize());
                    journal.setLastAppendLocation(latest);
View Full Code Here

Examples of org.hibernate.envers.internal.synchronization.work.AuditWorkUnit.perform()

    while ( (vwu = undoQueue.poll()) != null ) {
      vwu.undo( session );
    }

    while ( (vwu = workUnits.poll()) != null ) {
      vwu.perform( session, revisionData );
      entityChangeNotifier.entityChanged( session, currentRevisionData, vwu );
    }
  }

  public Object getCurrentRevisionData(Session session, boolean persist) {
View Full Code Here

Examples of org.hibernate.envers.synchronization.work.AuditWorkUnit.perform()

        while ((vwu = undoQueue.poll()) != null) {
            vwu.undo(session);
        }

        while ((vwu = workUnits.poll()) != null) {
            vwu.perform(session, revisionData);
        }
    }

  public Object getCurrentRevisionData(Session session, boolean persist) {
    // Generating the revision data if not yet generated
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.