| 修飾子とタイプ | メソッドと説明 |
|---|---|
static RRType |
fromValue(java.lang.String value)
Use this in place of valueOf.
|
java.lang.String |
toString() |
static RRType |
valueOf(java.lang.String name)
指定した名前を持つこの型の列挙型定数を返します。
|
static RRType[] |
values()
この列挙型の定数を含む配列を宣言されている順序で返します。
|
public static final RRType SOA
public static final RRType A
public static final RRType TXT
public static final RRType NS
public static final RRType CNAME
public static final RRType MX
public static final RRType PTR
public static final RRType SRV
public static final RRType SPF
public static final RRType AAAA
public static final RRType LBR
public static RRType[] values()
for(RRType c: RRType.values()) System.out.println(c);
public static RRType valueOf(java.lang.String name)
name - 返される列挙型定数の名前java.lang.IllegalArgumentException - 指定された名前を持つ定数を
この列挙型が持っていない場合java.lang.NullPointerException - 引数がnullの場合public java.lang.String toString()
toString クラス内 java.lang.Enum<RRType>public static RRType fromValue(java.lang.String value)
value - real value