public enum DecodingMode extends Enum<DecodingMode>
| Enum Constant and Description |
|---|
DYNAMIC_MODE_AND_MATCH_FIELD_STRICTLY
dynamically codegen, generate object decoder which compares fields strictly
|
DYNAMIC_MODE_AND_MATCH_FIELD_WITH_HASH
dynamically codegen, generate object decoder using hash
|
REFLECTION_MODE
decoding only using reflection, do not need code generation
|
STATIC_MODE
statically codegen
|
| Modifier and Type | Method and Description |
|---|---|
static DecodingMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DecodingMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DecodingMode DYNAMIC_MODE_AND_MATCH_FIELD_WITH_HASH
public static final DecodingMode DYNAMIC_MODE_AND_MATCH_FIELD_STRICTLY
public static final DecodingMode STATIC_MODE
public static final DecodingMode REFLECTION_MODE
public static DecodingMode[] values()
for (DecodingMode c : DecodingMode.values()) System.out.println(c);
public static DecodingMode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2019. All rights reserved.