public enum NullSentinel extends java.lang.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 java.lang.Comparable |
mask(java.lang.Comparable value) |
static java.lang.Object |
mask(java.lang.Object value) |
static NullSentinel |
valueOf(java.lang.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(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 static java.lang.Comparable mask(java.lang.Comparable value)
public static java.lang.Object mask(java.lang.Object value)
Copyright © 2012–2019 The Apache Software Foundation. All rights reserved.