public final class CstChar extends CstLiteral32
char.| Modifier and Type | Field and Description |
|---|---|
static CstChar |
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.
|
char |
getValue()
Gets the
char value. |
static CstChar |
make(char value)
Makes an instance for the given value.
|
static CstChar |
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 CstChar VALUE_0
non-null; the value 0 as an instance of this classpublic static CstChar make(char value)
value - the char valuepublic static CstChar 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 charnon-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 char getValue()
char value.Copyright © 2020. All Rights Reserved.