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

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

Best Java code snippets using org.apache.activemq.openwire.v4.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: 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;
    }
  }
}
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;
    }
  }
}
org.apache.activemq.openwire.v4BaseDataStreamMarshallertoLong

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

  • Updating database using SQL prepared statement
  • putExtra (Intent)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • setContentView (Activity)
  • Table (com.google.common.collect)
    A collection that associates an ordered pair of keys, called a row key and a column key, with a sing
  • File (java.io)
    An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
  • Properties (java.util)
    A Properties object is a Hashtable where the keys and values must be Strings. Each property can have
  • Filter (javax.servlet)
    A filter is an object that performs filtering tasks on either the request to a resource (a servlet o
  • JComboBox (javax.swing)
  • Get (org.apache.hadoop.hbase.client)
    Used to perform Get operations on a single row. To get everything for a row, instantiate a Get objec
  • Top Sublime Text 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