public final class CstByte extends CstLiteral32
byte.| Modifier and Type | Field and Description |
|---|---|
static CstByte |
VALUE_0
non-null; the value 0 as an instance of this class |
| Modifier and Type | Method and Description |
|---|---|
Type |
getType()
Gets the type associated with this instance.
|
byte |
getValue()
Gets the
byte value. |
static CstByte |
make(byte value)
Makes an instance for the given value.
|
static CstByte |
make(int value)
Makes an instance for the given
int 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 CstByte VALUE_0
non-null; the value 0 as an instance of this classpublic static CstByte make(byte value)
value - the byte valuepublic static CstByte make(int value)
int value. This
may (but does not necessarily) return an already-allocated
instance.value - the value, which must be in range for a bytenon-null; the appropriate instancepublic 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 byte getValue()
byte value.Copyright © 2020. All Rights Reserved.