public enum LedgerEntryType extends Enum<LedgerEntryType> implements SerializedType
| 限定符和类型 | 类和说明 |
|---|---|
static class |
LedgerEntryType.Translator |
| 枚举常量和说明 |
|---|
AccountRoot |
Amendments |
Contract |
DirectoryNode |
FeeSettings |
GeneratorMap |
Invalid |
LedgerHashes |
Offer |
RippleState |
SignerList |
SuspendedPayment |
TableList |
Ticket |
| 限定符和类型 | 字段和说明 |
|---|---|
static LedgerEntryType.Translator |
translate |
| 限定符和类型 | 方法和说明 |
|---|---|
Integer |
asInteger() |
static LedgerEntryType |
fromNumber(Number i) |
byte[] |
toBytes() |
void |
toBytesSink(BytesSink to) |
String |
toHex() |
Object |
toJSON() |
Type |
type() |
static LedgerEntryType |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static LedgerEntryType[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final LedgerEntryType Invalid
public static final LedgerEntryType AccountRoot
public static final LedgerEntryType DirectoryNode
public static final LedgerEntryType GeneratorMap
public static final LedgerEntryType RippleState
public static final LedgerEntryType SuspendedPayment
public static final LedgerEntryType Offer
public static final LedgerEntryType Contract
public static final LedgerEntryType LedgerHashes
public static final LedgerEntryType Amendments
public static final LedgerEntryType FeeSettings
public static final LedgerEntryType Ticket
public static final LedgerEntryType TableList
public static final LedgerEntryType SignerList
public static LedgerEntryType.Translator translate
public static LedgerEntryType[] values()
for (LedgerEntryType c : LedgerEntryType.values()) System.out.println(c);
public static LedgerEntryType valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public Type type()
type 在接口中 SerializedTypepublic static LedgerEntryType fromNumber(Number i)
public Integer asInteger()
public byte[] toBytes()
toBytes 在接口中 SerializedTypepublic Object toJSON()
toJSON 在接口中 SerializedTypepublic String toHex()
toHex 在接口中 SerializedTypepublic void toBytesSink(BytesSink to)
toBytesSink 在接口中 SerializedTypeCopyright © 2021. All rights reserved.