Tabnine Logo
BaseDataStreamMarshaller.toLong
Code IndexAdd Tabnine to your IDE (free)

How to use
toLong
method
in
org.apache.activemq.openwire.v3.BaseDataStreamMarshaller

Best Java code snippets using org.apache.activemq.openwire.v3.BaseDataStreamMarshaller.toLong (Showing top 4 results out of 315)

origin: apache/activemq

public long tightUnmarshalLong(OpenWireFormat wireFormat, DataInput dataIn, BooleanStream bs)
  throws IOException {
  if (bs.readBoolean()) {
    if (bs.readBoolean()) {
      return dataIn.readLong();
    } else {
      return toLong(dataIn.readInt());
    }
  } else {
    if (bs.readBoolean()) {
      return toLong(dataIn.readShort());
    } else {
      return 0;
    }
  }
}
origin: pierre/meteo

public long tightUnmarshalLong(OpenWireFormat wireFormat, DataInput dataIn, BooleanStream bs)
  throws IOException {
  if (bs.readBoolean()) {
    if (bs.readBoolean()) {
      return dataIn.readLong();
    } else {
      return toLong(dataIn.readInt());
    }
  } else {
    if (bs.readBoolean()) {
      return toLong(dataIn.readShort());
    } else {
      return 0;
    }
  }
}
origin: org.apache.activemq/activemq-all

public long tightUnmarshalLong(OpenWireFormat wireFormat, DataInput dataIn, BooleanStream bs)
  throws IOException {
  if (bs.readBoolean()) {
    if (bs.readBoolean()) {
      return dataIn.readLong();
    } else {
      return toLong(dataIn.readInt());
    }
  } else {
    if (bs.readBoolean()) {
      return toLong(dataIn.readShort());
    } else {
      return 0;
    }
  }
}
origin: org.apache.activemq/activemq-osgi

public long tightUnmarshalLong(OpenWireFormat wireFormat, DataInput dataIn, BooleanStream bs)
  throws IOException {
  if (bs.readBoolean()) {
    if (bs.readBoolean()) {
      return dataIn.readLong();
    } else {
      return toLong(dataIn.readInt());
    }
  } else {
    if (bs.readBoolean()) {
      return toLong(dataIn.readShort());
    } else {
      return 0;
    }
  }
}
org.apache.activemq.openwire.v3BaseDataStreamMarshallertoLong

Popular methods of BaseDataStreamMarshaller

  • createThrowable
  • looseMarshal
  • looseMarshalNestedObject
  • looseMarshalString
  • looseMarshalThrowable
  • looseUnmarsalThrowable
  • looseUnmarshal
  • looseUnmarshalString
  • tightMarshal1
  • tightMarshal2
  • tightMarshalNestedObject1
  • tightMarshalNestedObject2
  • tightMarshalNestedObject1,
  • tightMarshalNestedObject2,
  • tightMarshalString1,
  • tightMarshalString2,
  • tightMarshalThrowable1,
  • tightMarshalThrowable2,
  • tightUnmarsalThrowable,
  • tightUnmarshal,
  • tightUnmarshalString

Popular in Java

  • Running tasks concurrently on multiple threads
  • setContentView (Activity)
  • compareTo (BigDecimal)
  • setScale (BigDecimal)
  • Charset (java.nio.charset)
    A charset is a named mapping between Unicode characters and byte sequences. Every Charset can decode
  • Dictionary (java.util)
    Note: Do not use this class since it is obsolete. Please use the Map interface for new implementatio
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • Iterator (java.util)
    An iterator over a sequence of objects, such as a collection.If a collection has been changed since
  • TimeUnit (java.util.concurrent)
    A TimeUnit represents time durations at a given unit of granularity and provides utility methods to
  • JPanel (javax.swing)
  • Top PhpStorm plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now