public enum Type extends Enum<Type>
| 枚举常量和说明 |
|---|
AccountID |
Amount |
Blob |
Done |
Hash128 |
Hash160 |
Hash256 |
LedgerEntry |
Map256 |
NotPresent |
PathSet |
STArray |
STObject |
Transaction |
UInt16 |
UInt32 |
UInt64 |
UInt8 |
Unknown |
Validation |
Vector256 |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
getId() |
static Type |
valueOf(Integer integer) |
static Type |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static Type[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final Type Unknown
public static final Type Done
public static final Type NotPresent
public static final Type UInt16
public static final Type UInt32
public static final Type UInt64
public static final Type Hash128
public static final Type Hash256
public static final Type Amount
public static final Type Blob
public static final Type AccountID
public static final Type STObject
public static final Type STArray
public static final Type UInt8
public static final Type Hash160
public static final Type PathSet
public static final Type Vector256
public static final Type Map256
public static final Type Transaction
public static final Type LedgerEntry
public static final Type Validation
public static Type[] values()
for (Type c : Type.values()) System.out.println(c);
public static Type valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public int getId()
Copyright © 2021. All rights reserved.