Class _Float

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

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

    • _Float

      public _Float()
    • _Float

      public _Float(float value)
    • _Float

      public _Float(String s)
  • Method Details

    • floatValue

      public float floatValue()
    • 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