public static enum Strong.Policy extends Enum<Strong.Policy>
| Enum Constant and Description |
|---|
ANY
This kind of expression is null if and only if at least one of its
arguments is null.
|
AS_IS
This kind of expression may be null.
|
CUSTOM
This kind of expression has its own particular rules about whether it
is null.
|
NOT_NULL
This kind of expression is never null.
|
| Modifier and Type | Method and Description |
|---|---|
static Strong.Policy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Strong.Policy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Strong.Policy NOT_NULL
public static final Strong.Policy CUSTOM
public static final Strong.Policy ANY
public static final Strong.Policy AS_IS
public static Strong.Policy[] values()
for (Strong.Policy c : Strong.Policy.values()) System.out.println(c);
public static Strong.Policy 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 © 2012-2022 Apache Software Foundation. All Rights Reserved.