|
IBM WebSphere Application ServerTM Release 8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.mq.data.FloatEncoding
public final class FloatEncoding
Enumeration-style class giving values for each of the four floating-point encodings recognised by WebSphere MQ: undefined, s390, ieee normal and reversed.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT
|
static FloatEncoding |
IEEE_NORMAL
Signals that floating-point values use the IEEE format. |
static 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. |
static int |
MASK
Binary mask yielding the bits which represent the floating-point encoding value in a WMQ encoding identifier |
static FloatEncoding |
S390
Signals that floating-point values use the S390 floating point format |
static FloatEncoding |
TNS
Signals that floating-point values use the TNS floating point format |
static FloatEncoding |
UNDEFINED
Signals that floating-point values are of an undefined format |
Method Summary | |
---|---|
static FloatEncoding |
forValue(int encoding)
Given a WMQ encoding, returns the relevent FloatEncoding object. |
int |
getValue()
Returns the value, in a WMQ encoding, of this floating-point encoding |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
public static final FloatEncoding UNDEFINED
public static final FloatEncoding IEEE_NORMAL
public static final FloatEncoding IEEE_REVERSED
public static final FloatEncoding S390
public static final FloatEncoding TNS
public static final int MASK
Method Detail |
---|
public int getValue()
public static FloatEncoding forValue(int encoding)
java.lang.IllegalArgumentException
- if the floating-point portion of the
encoding is not a known valuepublic java.lang.String toString()
toString
in class java.lang.Object
|
IBM WebSphere Application ServerTM Release 8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |