Examples of end()


Examples of com.persistit.Transaction.end()

            assign();
            Transaction tx = db.getTransaction();
            if (tx.isActive() && !tx.isCommitted()) {
                tx.rollback();
            }
            tx.end();
            close();
        }
    }

    @Override
View Full Code Here

Examples of com.psddev.dari.util.HtmlWriter.end()

                        writer.write("}");
                    }
                }
            }

        writer.end();
    }

    // --- Tool support ---

    @Override
View Full Code Here

Examples of com.sleepycat.je.XAEnvironment.end()

    fail("Expected XAER_DUPID");
      } catch (XAException XAE) {
    /* Expect this. */
    assertTrue(XAE.errorCode == XAException.XAER_DUPID);
      }
      xaEnv.end(xid, XAResource.TMNOFLAGS);

      /*
       * Check that JOIN with a non-existant association throws NOTA.
       */
      try {
View Full Code Here

Examples of com.sun.mpk20.voicelib.app.Call.end()

        logger.warning("No player for " + callId);
        break;
    }

    try {
        c.end(true);
    } catch (IOException e) {
        logger.warning("Unable to end call " + callId);
    }

    try {
View Full Code Here

Examples of com.sun.speech.freetts.audio.AudioPlayer.end()

                throw new ProcessException
                    ("Cannot write audio data to audio player");
            }
        }

        if (!audioPlayer.end()) {
            throw new ProcessException("audio player reports problem");
        }
    }

   
View Full Code Here

Examples of com.sun.star.task.XStatusIndicator.end()

        //change SI2
        SI2.setText("A new name for the status");
        SI2.setValue(45);
        SI2.reset();
        SI2.end();

        //Now SI1 is active
        SI1.end();

        bResult &= SI1 != null;
View Full Code Here

Examples of com.sun.tahiti.compiler.XMLWriter.end()

            new String[]{"id",getId(symbol)});
          Rule[] rs = rules.getAll(symbol);
          for( int i=0; i<rs.length; i++ )
            out.element("rule",new String[]{"no",getId(rs[i])});
         
          out.end("nonTerminal");
        }
        out.end("rulesList");
      }
 
    // generate a source code that constructs the grammar.
View Full Code Here

Examples of com.thinkaurelius.titan.testutil.PerformanceTest.end()

        TitanVertex[] nodes = new TitanVertex[noNodes];
        PerformanceTest p = new PerformanceTest(true);
        for (int i = 0; i < noNodes; i++) {
            nodes[i] = tx.addVertex();
        }
        p.end();
        System.out.println("Time per node in (ns): " + (p.getNanoTime() / noNodes));

        p = new PerformanceTest(true);
        for (int i = 0; i < noNodes; i++) {
            new StandardEdge(i + 1, connect, (InternalVertex) nodes[i], (InternalVertex) nodes[(i + 1) % noNodes], ElementLifeCycle.New);
View Full Code Here

Examples of com.thoughtworks.excelparser.annotations.ExcelObject.end()

  public <T> List<T> createEntity(Sheet sheet, String sheetName, Class<T> clazz)
          throws ExcelParsingException {
    List<T> list = new ArrayList<T>();
    ExcelObject excelObject = getExcelObject(clazz);
    for (int currentLocation = excelObject.start(); currentLocation <= excelObject.end(); currentLocation++) {
      T object = getNewInstance(sheet, sheetName, clazz, excelObject.parseType(), currentLocation, excelObject.zeroIfNull());
      List<Field> mappedExcelFields = getMappedExcelObjects(clazz);
      for (Field mappedField : mappedExcelFields) {
        Class<?> fieldType = mappedField.getType();
        List<?> fieldValue = createEntity(sheet, sheetName, fieldType.equals(List.class) ? getFieldType(mappedField)
View Full Code Here

Examples of com.trolltech.qt.gui.QPainter.end()

          colorTile(painter, x, y, offset, color);
        }
      }
    }

    painter.end();
  }
 
  public void drawBackground(QPainter painter, QRectF rect){
    super.drawBackground(painter, rect);
    painter.drawImage(0, 0, qImage);
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.