Examples of longValue()


Examples of com.ericsson.otp.erlang.OtpErlangInt.longValue()

    }

    @Override
    public void dump(OtpErlangObject arg, StringBuffer resultHolder) {
      OtpErlangInt longValue = (OtpErlangInt) arg;
      resultHolder.append(longValue.longValue());
    }

    @Override
    public OtpErlangObject parseObject(
        @SuppressWarnings("unused") Lexer lexer) {
View Full Code Here

Examples of com.ericsson.otp.erlang.OtpErlangLong.longValue()

    // functions creating nodes

    private ITreeNode processDropTrace(final OtpErlangTuple tuple) {
        final OtpErlangLong amount = (OtpErlangLong) tuple.elementAt(1);
        final ITreeNode node = new TreeNode("Dropped traces: " + amount.longValue(),
                Activator.getImage(Images.DROP_NODE));
        return node;
    }

    private ITreeNode processFileInfo(final OtpErlangTuple tuple) {
View Full Code Here

Examples of com.esri.sde.sdk.client.SeObjectId.longValue()

                    setRowProperties(newFeature, seCoordRef, insertColumns, row);
                    insertStream.execute();

                    if (fidReader instanceof FIDReader.SdeManagedFidReader) {
                        SeObjectId newRowId = insertStream.lastInsertedRowId();
                        newId = Long.valueOf(newRowId.longValue());
                    }

                    insertStream.flushBufferedWrites(); // jg: my customer wanted this uncommented
                    versionHandler.editOperationWritten(insertStream);
                } catch (Exception e) {
View Full Code Here

Examples of com.fasterxml.jackson.databind.JsonNode.longValue()

                }

                // TODO refactor it!
                if (arg.isNumber()) {
                    if (clazz.equals(Long.class)) {
                        val = arg.longValue();
                    }
                    if (clazz.equals(BigDecimal.class)) {
                        val = arg.bigIntegerValue();
                    }
                    if (clazz.equals(Double.class)) {
View Full Code Here

Examples of com.google.gwt.dev.javac.typemodel.test.TestAnnotation.longValue()

    assertEquals(testAnnotationValue, testAnnotation.value());
    assertEquals(nestedAnnotationValue,
        testAnnotation.nestedAnnotation().value());

    // Tests default values using conditional statements.
    assertEquals(realAnnotation.longValue(), testAnnotation.longValue());

    // Tests default value of array type.
    assertEquals(realAnnotation.intArrayValue().length,
        testAnnotation.intArrayValue().length);
View Full Code Here

Examples of com.ibm.icu.math.BigDecimal.longValue()

        if (ran == null) {
            ran = createRandom();
        }
       
        if (interval.compareTo(longMax) < 0) {
            ranInt = interval.longValue();
        }
    }
   
    private final long randomInRange()
    {
View Full Code Here

Examples of com.sun.jmx.snmp.SnmpOid.longValue()

     * Registers a specific node in the tree.
     */
    public void registerNode(String oidString ,SnmpMibNode node)
        throws IllegalAccessException {
        SnmpOid oid= new SnmpOid(oidString);
        registerNode(oid.longValue(), 0, node);
    }

    // PROTECTED METHODS
    //------------------

View Full Code Here

Examples of com.sun.jna.NativeLong.longValue()

    }
    class WindowByReference extends ByReference {
        public WindowByReference() { super(XID.SIZE); }
        public Window getValue() {
            NativeLong value = getPointer().getNativeLong(0);
            return value.longValue() == X11.None ? Window.None : new Window(value.longValue());
        }
    }
    class Pixmap extends Drawable {
        private static final long serialVersionUID = 1L;
        public static final Pixmap None = null;
View Full Code Here

Examples of com.sun.messaging.jmq.jmsserver.core.ConsumerUID.longValue()

  Iterator iter = consumerIDs.iterator();

  int i = 0;
  while (iter.hasNext()) {
      ConsumerUID cid = (ConsumerUID)iter.next();
      long conID = cid.longValue();
      String id;

      try  {
                id = Long.toString(conID);
View Full Code Here

Examples of com.sun.messaging.jmq.jmsserver.core.ProducerUID.longValue()

  Iterator iter = producerIDs.iterator();

  int i = 0;
  while (iter.hasNext()) {
      ProducerUID pid = (ProducerUID)iter.next();
      long prdID = pid.longValue();
      String id;

      try  {
                id = Long.toString(prdID);
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.