|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | 列挙型定数 | フィールド | メソッド | 詳細: 列挙型定数 | フィールド | メソッド | |||||||||
java.lang.Objectjava.lang.Enum<LiteralKind>
org.ashikunep.irenka.dom.LiteralKind
public enum LiteralKind
リテラルの種類。
| 列挙型定数の概要 | |
|---|---|
BOOLEAN
ブールリテラル。 |
|
CHAR
文字リテラル。 |
|
DOUBLE
倍精度浮動小数点数リテラル。 |
|
FLOAT
単精度浮動小数点数リテラル。 |
|
INT
32bit整数リテラル。 |
|
LONG
64bit整数リテラル。 |
|
NULL
nullリテラル。 |
|
STRING
文字列リテラル。 |
|
| メソッドの概要 | |
|---|---|
TypeKind |
getTypeKind()
このリテラルの型の種類を返す。 |
static LiteralKind |
valueOf(String name)
指定した名前を持つこの型の列挙型定数を返します。 |
static LiteralKind[] |
values()
この列挙型の定数を含む配列を宣言されている順序で返します。 |
| クラス java.lang.Enum から継承されたメソッド |
|---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| クラス java.lang.Object から継承されたメソッド |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| 列挙型定数の詳細 |
|---|
public static final LiteralKind INT
public static final LiteralKind LONG
public static final LiteralKind FLOAT
public static final LiteralKind DOUBLE
public static final LiteralKind CHAR
public static final LiteralKind BOOLEAN
public static final LiteralKind STRING
public static final LiteralKind NULL
nullリテラル。
| メソッドの詳細 |
|---|
public static final LiteralKind[] values()
for(LiteralKind c : LiteralKind.values())
System.out.println(c);
public static LiteralKind valueOf(String name)
name - 返される列挙型定数の名前
IllegalArgumentException - 指定された名前を持つ定数を
この列挙型が持っていない場合public TypeKind getTypeKind()
STRING以外は基本型を返し、STRINGはTypeKind.CLASSを返す。
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | 列挙型定数 | フィールド | メソッド | 詳細: 列挙型定数 | フィールド | メソッド | |||||||||