Class _Byte

java.lang.Object
com.swiftmq.jms.primitives._Byte
All Implemented Interfaces:
Primitive, Dumpable

public class _Byte extends Object implements Dumpable, Primitive
  • Constructor Details

    • _Byte

      public _Byte()
    • _Byte

      public _Byte(byte value)
    • _Byte

      public _Byte(String s)
  • Method Details

    • byteValue

      public byte byteValue()
    • getObject

      public Object getObject()
      Specified by:
      getObject in interface Primitive
    • getDumpId

      public int getDumpId()
      Description copied from interface: Dumpable
      Returns a unique dump id for this object.
      Specified by:
      getDumpId in interface Dumpable
      Returns:
      unique dump id
    • writeContent

      public void writeContent(DataOutput out) throws IOException
      Description copied from interface: Dumpable
      Write the content of this object to the stream.
      Specified by:
      writeContent in interface Dumpable
      Parameters:
      out - output stream
      Throws:
      IOException - if an error occurs
    • readContent

      public void readContent(DataInput in) throws IOException
      Description copied from interface: Dumpable
      Read the content of this object from the stream.
      Specified by:
      readContent in interface Dumpable
      Parameters:
      in - input stream
      Throws:
      IOException - if an error occurs
    • toString

      public String toString()
      Overrides:
      toString in class Object