public enum Nullability extends Enum<Nullability>
| Enum Constant and Description |
|---|
NOT_NULL |
NOT_NULLY |
NOT_UNDEFINED |
NULL |
NULLY |
UNDEFINED |
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canNotBeEqual(Nullability other) |
boolean |
isNeitherNullNorUndefined() |
boolean |
isNullOrUndefined() |
static Nullability |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Nullability[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Nullability NULL
public static final Nullability NOT_NULL
public static final Nullability UNDEFINED
public static final Nullability NOT_UNDEFINED
public static final Nullability NULLY
public static final Nullability UNKNOWN
public static final Nullability NOT_NULLY
public static Nullability[] values()
for (Nullability c : Nullability.values()) System.out.println(c);
public static Nullability 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 boolean isNullOrUndefined()
public boolean isNeitherNullNorUndefined()
public boolean canNotBeEqual(Nullability other)
Copyright © 2011–2016 SonarSource and Eriks Nukis. All rights reserved.