public enum Option extends Enum<Option>
| Enum Constant and Description |
|---|
COMPARING_ONLY_STRUCTURE
Compares only structures.
|
IGNORING_ARRAY_ORDER
When comparing arrays, ignores array order.
|
IGNORING_EXTRA_FIELDS
Ignores extra fields in the actual value.
|
IGNORING_VALUES
Ignores values but fails if value types are different.
|
TREATING_NULL_AS_ABSENT
Treats null nodes in actual value as absent.
|
| Modifier and Type | Method and Description |
|---|---|
static Option |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Option[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Option TREATING_NULL_AS_ABSENT
public static final Option IGNORING_ARRAY_ORDER
public static final Option IGNORING_EXTRA_FIELDS
public static final Option COMPARING_ONLY_STRUCTURE
public static final Option IGNORING_VALUES
public static Option[] values()
for (Option c : Option.values()) System.out.println(c);
public static Option 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 © 2014. All Rights Reserved.