com.ibm.mq.data
Class FloatEncoding
- java.lang.Object
com.ibm.mq.data.FloatEncoding
- public final class FloatEncoding
- extends java.lang.Object
Field Summary
Modifier and Type | Field and Description |
---|---|
|
COPYRIGHT
|
|
IEEE_NORMAL
Signals that floating-point values use the IEEE format.
|
|
IEEE_REVERSED
Signals that floating-point values use the IEEE format with bytes swapped,
so that the least significant byte of the mantissa appears first.
|
|
MASK
Binary mask yielding the bits which represent the floating-point encoding
value in a WMQ encoding identifier
|
|
S390
Signals that floating-point values use the S390 floating point format
|
|
TNS
Signals that floating-point values use the TNS floating point format
|
|
UNDEFINED
Signals that floating-point values are of an undefined format
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
forValue(int encoding)
Given a WMQ encoding, returns the relevent FloatEncoding
object.
|
|
getValue()
Returns the value, in a WMQ encoding, of this floating-point encoding
|
|
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail
COPYRIGHT
- public static final java.lang.String COPYRIGHT
See Also:
UNDEFINED
- public static final FloatEncoding UNDEFINED
Signals that floating-point values are of an undefined format
IEEE_NORMAL
- public static final FloatEncoding IEEE_NORMAL
Signals that floating-point values use the IEEE format.
IEEE_REVERSED
- public static final FloatEncoding IEEE_REVERSED
Signals that floating-point values use the IEEE format with bytes swapped,
so that the least significant byte of the mantissa appears first.
S390
- public static final FloatEncoding S390
Signals that floating-point values use the S390 floating point format
TNS
- public static final FloatEncoding TNS
Signals that floating-point values use the TNS floating point format
MASK
- public static final int MASK
Binary mask yielding the bits which represent the floating-point encoding
value in a WMQ encoding identifier
See Also:
Method Detail
getValue
- public int getValue()
Returns the value, in a WMQ encoding, of this floating-point encoding
forValue
- public static FloatEncoding forValue( int encoding)
Given a WMQ encoding, returns the relevent FloatEncoding
object. Only the floating-point portion of the encoding is significant.
Throws:
java.lang.IllegalArgumentException
- if the floating-point portion of the
encoding is not a known value toString
- public java.lang.String toString( )
Overrides:
toString
in class java.lang.Object