DataType.
| Modifier and Type | Field and Description |
|---|---|
| public static final Nullability | DEFAULT
Default behaviour for data types. |
| public static final Nullability | NOT_NULL
The data type is explicitly not nullable. |
| public static final Nullability | NULL
The data type is explicitly nullable. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public static @NotNull Nullability | |
| public static Nullability | |
| public static Nullability[] |
| DEFAULT | back to summary |
|---|---|
| public static final Nullability DEFAULT Default behaviour for data types.
The interpretation of this value depends on the context in which a
| |
| NOT_NULL | back to summary |
|---|---|
| public static final Nullability NOT_NULL The data type is explicitly not nullable. | |
| NULL | back to summary |
|---|---|
| public static final Nullability NULL The data type is explicitly nullable. | |
| Nullability | back to summary |
|---|---|
| private Nullability() | |
| nullable | back to summary |
|---|---|
| public boolean nullable() Whether this nullability encodes an explicitly or implicitly nullable type. | |
| of | back to summary |
|---|---|
| public static @NotNull Nullability of(boolean nullability) Get the explicit
| |
| valueOf | back to summary |
|---|---|
| public static Nullability valueOf(String name) | |
| values | back to summary |
|---|---|
| public static Nullability[] values() | |