Codota Logo
BaseDataStreamMarshaller.toLong
Code IndexAdd Codota 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)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Gson g =
  • Codota Iconnew Gson()
  • Codota IconGsonBuilder gsonBuilder;gsonBuilder.create()
  • Codota Iconnew GsonBuilder().create()
  • Smart code suggestions by Codota
}
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

  • Creating JSON documents from java classes using gson
  • getSharedPreferences (Context)
  • scheduleAtFixedRate (Timer)
  • getApplicationContext (Context)
  • VirtualMachine (com.sun.tools.attach)
    A Java virtual machine. A VirtualMachine represents a Java virtual machine to which this Java vir
  • InputStreamReader (java.io)
    An InputStreamReader is a bridge from byte streams to character streams: It reads bytes and decodes
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
  • TimeUnit (java.util.concurrent)
    A TimeUnit represents time durations at a given unit of granularity and provides utility methods to
  • FileUtils (org.apache.commons.io)
    General file manipulation utilities. Facilities are provided in the following areas: * writing to a
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now