Examples of reset()


Examples of de.willuhn.jameica.hbci.rmi.Konto.reset()

      if (!Application.getCallback().askUser(s))
        return;

      // Konto zuruecksetzen
      k.transactionBegin();
      k.reset();
      k.setFlags(k.getFlags() | Konto.FLAG_DISABLED);
      k.store();

      Logger.info("disabled account id: " + k.getID());
View Full Code Here

Examples of dtool.parser.DeeLexer.reset()

  }
 
  protected static Token findFirstTokenAtOffset(String source, int startPos, final int offset) {
    assertTrue(startPos <= offset);
    DeeLexer lexer = new DeeLexer(source);
    lexer.reset(startPos);
    while(true) {
      Token token = lexer.next();
      if(offset <= token.getEndPos())
        return token;
      assertTrue(token.type != DeeTokens.EOF);
View Full Code Here

Examples of eas.math.fundamentalAlgorithms.graphBased.algorithms.pushDown.PDA.reset()

        return g;
    }
   
    public PDA generatePDA() {
        PDA pda = new PDA();
        pda.reset();
        pda.setInitialState(this.initialState);
        pda.setInput(this.getInputAlphabet().toString().replace("[", "").replace("]", "").replace(", ", "")
                + this.getInputAlphabet().toString().replace("[", "").replace("]", "").replace(", ", ""));
       
        this.finalStates.forEach(state -> pda.addFinalState(state));
View Full Code Here

Examples of eas.users.ocScenarios.traffic.lights.LightsPlugin.reset()

        if (TrafficParameters.resetRequested) {
            this.reset();

            try {
                LightsPlugin plug = (LightsPlugin) this.getSimTime().getPluginObject(new LightsPlugin().id());
                plug.reset(this, this.getParCollection());
            } catch (Exception e) {}

//            ChartEvent e2 = new ChartEvent("Cars", "Avg. speed", 0);
//            e2.setChartFramePos(new Vector2D(0, 300));
//            this.getSimTime().broadcastEvent(e2);
View Full Code Here

Examples of edu.brown.profilers.ProfileMeasurement.reset()

            if (this.computeTime.isEmpty() == false) {
                for (String txnName : this.computeTime.keySet()) {
                    ProfileMeasurement pm = this.computeTime.get(txnName);
                    if (pm.getInvocations() != 0) {
                        LOG.debug(String.format("[%02d] - %s COMPUTE TIME: %s", counter, txnName, pm.debug()));
                        pm.reset();
                    }
                } // FOR
            }
            LOG.debug("Client Queue Time: " + this.m_voltClient.getQueueTime().debug());
            this.m_voltClient.getQueueTime().reset();
View Full Code Here

Examples of edu.buffalo.cse.ir.wikiindexer.tokenizer.TokenStream.reset()

   */
  @Test
  public void testReset() {
    //empty / null
    TokenStream stream = new TokenStream((String)null);
    stream.reset();
    assertNull(stream.next());
    stream = null;
   
    stream = new TokenStream("");
    stream.reset();
View Full Code Here

Examples of edu.cmu.cs.fusion.parsers.predicate.FPLParser.reset()

   
    try {
      for (IMemberValuePair pair : constraint.getMemberValuePairs()) {
        String name = pair.getMemberName();
        if (name.equals("op")) {
          parser.reset((String)pair.getValue());
          op = parser.operation();
        }
        else if (name.equals("trigger")) {
          parser.reset((String)pair.getValue());
          trigger = parser.expression();
View Full Code Here

Examples of edu.gmu.seor.prognos.unbbayesplugin.cps.dmp.DMPInference.reset()

    if (algorithm instanceof DMPInference) {
      DMPInference dmp = (DMPInference) algorithm;
     
      // dmp needs a reset, because it uses static db and previous findings may still be in the system.
      // TODO fix dmp so that it stops using static db
      dmp.reset();
     
      // findings of discrete nodes may be directly inserted to the network treated by the algorithm
      Graph g = dmp.getNetwork()// net to add findings
      if (g == null) {
        throw new SSBNNodeGeneralException(new IllegalStateException(ssbn + " and " + algorithm + " should be compiled before this method."));
View Full Code Here

Examples of edu.uci.ics.hyracks.data.std.util.ArrayBackedValueStorage.reset()

            }

            @Override
            public void finish(IPointable result) throws AlgebricksException {
                try {
                    abvs.reset();
                    dOut.write(ValueTag.XS_INTEGER_TAG);
                    dOut.writeLong(count);
                    result.set(abvs);
                } catch (Exception e) {
                    throw new AlgebricksException(e);
View Full Code Here

Examples of edu.uci.ics.hyracks.dataflow.common.comm.io.FrameTupleAccessor.reset()

                writer.open();
            }

            @Override
            public void nextFrame(ByteBuffer buffer) throws HyracksDataException {
                fta.reset(buffer);
                String collectionModifiedName = collectionName.replace("${nodeId}", nodeId);
                File collectionDirectory = new File(collectionModifiedName);

                // Go through each tuple.
                if (collectionDirectory.isDirectory()) {
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.