public enum NullSentinel extends Enum<NullSentinel>
| Enum Constant and Description |
|---|
ACTIVE
Placeholder that means that a request for metadata is already active,
therefore this request forms a cycle.
|
INSTANCE
Placeholder for a null value.
|
| Modifier and Type | Method and Description |
|---|---|
static Comparable |
mask(@Nullable Comparable value) |
static Object |
mask(@Nullable Object value) |
static NullSentinel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NullSentinel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NullSentinel INSTANCE
public static final NullSentinel ACTIVE
public static NullSentinel[] values()
for (NullSentinel c : NullSentinel.values()) System.out.println(c);
public static NullSentinel 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 nullpublic static Comparable mask(@Nullable Comparable value)
Copyright © 2012-2022 Apache Software Foundation. All Rights Reserved.