Enum NullSentinel

All Implemented Interfaces:
Serializable, Comparable<NullSentinel>, Constable

public enum NullSentinel extends Enum<NullSentinel>
Placeholder for null values.
  • Enum Constant Details


      public static final NullSentinel INSTANCE
      Placeholder for a null value.
    • ACTIVE

      public static final NullSentinel ACTIVE
      Placeholder that means that a request for metadata is already active, therefore this request forms a cycle.
  • Method Details

    • values

      public static NullSentinel[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static NullSentinel valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      name - the name of the enum constant to be returned.
      the enum constant with the specified name
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • mask

      public static Comparable mask(@Nullable Comparable value)
    • mask

      public static Object mask(@Nullable Object value)