public final class CstFloat extends CstLiteral32
CONSTANT_Float_info.| Modifier and Type | Field and Description |
|---|---|
static CstFloat |
VALUE_0
non-null; instance representing 0 |
static CstFloat |
VALUE_1
non-null; instance representing 1 |
static CstFloat |
VALUE_2
non-null; instance representing 2 |
| Modifier and Type | Method and Description |
|---|---|
Type |
getType()
Gets the type associated with this instance.
|
float |
getValue()
Gets the
float value. |
static CstFloat |
make(int bits)
Makes an instance for the given value.
|
java.lang.String |
toHuman()
Return the "human" string form of this instance.
|
java.lang.String |
toString() |
java.lang.String |
typeName()
Returns the human name for the particular type of constant
this instance is.
|
compareTo0, equals, fitsInInt, getIntBits, getLongBits, hashCode, isCategory2fitsIn16Bits, fitsIn8BitsgetBasicFrameType, getBasicType, getFrameType, isConstantpublic static final CstFloat VALUE_0
non-null; instance representing 0public static final CstFloat VALUE_1
non-null; instance representing 1public static final CstFloat VALUE_2
non-null; instance representing 2public static CstFloat make(int bits)
bits - the float value as int bitspublic java.lang.String toString()
toString in class java.lang.Objectpublic Type getType()
non-null; the typepublic java.lang.String typeName()
public java.lang.String toHuman()
toString().non-null; the human string formpublic float getValue()
float value.Copyright © 2020. All Rights Reserved.