public static enum Case.NullBehaviour extends java.lang.Enum<Case.NullBehaviour>
Enum Constant and Description |
---|
ERROR
Generate an IllegalParameterException
|
RETURN_NULL
Returns null
|
TEST_ARG
Tests if any case is null, return corresponding argument
|
Modifier and Type | Method and Description |
---|---|
static Case.NullBehaviour |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Case.NullBehaviour[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Case.NullBehaviour ERROR
public static final Case.NullBehaviour RETURN_NULL
public static final Case.NullBehaviour TEST_ARG
public static Case.NullBehaviour[] values()
for (Case.NullBehaviour c : Case.NullBehaviour.values()) System.out.println(c);
public static Case.NullBehaviour valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright © 2018 Singular Systems http://www.singularsys.com/jep