public enum IgnoreStrategy extends java.lang.Enum<IgnoreStrategy> implements java.util.function.Predicate<java.lang.Object>
| Enum Constant and Description |
|---|
EMPTY
ignore null and empty (String Array Collection Map size = 0).
|
NONE
not ignore.
|
NULL
ignore null.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
test(java.lang.Object t) |
static IgnoreStrategy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IgnoreStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IgnoreStrategy NONE
public static final IgnoreStrategy NULL
public static final IgnoreStrategy EMPTY
public static IgnoreStrategy[] values()
for (IgnoreStrategy c : IgnoreStrategy.values()) System.out.println(c);
public static IgnoreStrategy 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 nullpublic boolean test(java.lang.Object t)
test in interface java.util.function.Predicate<java.lang.Object>