public enum NilPolicy extends Enum<NilPolicy>
| Enum Constant and Description |
|---|
DASH
a nil value will result in a '-' symbol in the map.
|
NULL
a nil value will result in a null value in the map.
|
OMIT
a nil value will result msg part being omitted from the map.
|
| Modifier and Type | Method and Description |
|---|---|
static NilPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NilPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NilPolicy OMIT
public static final NilPolicy NULL
public static final NilPolicy DASH
public static NilPolicy[] values()
for (NilPolicy c : NilPolicy.values()) System.out.println(c);
public static NilPolicy 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 © 2021 palindromicity. All rights reserved.