| Package | Description |
|---|---|
| com.io7m.jnull |
Annotations and functions for dealing with null references.
|
| Modifier and Type | Method | Description |
|---|---|---|
static <T> T |
NullCheck.notNull(T x) |
Deprecated.
|
static <T> T |
NullCheck.notNull(T x,
java.lang.String message) |
|
static <T,U extends java.util.Collection<T>> |
NullCheck.notNullAll(U x) |
Deprecated.
|
static <T,U extends java.util.Collection<T>> |
NullCheck.notNullAll(U x,
java.lang.String message) |
Check that
x is not null, and that all elements of
x are not null, raising NullCheckException iff
x == null. |
| Modifier and Type | Method | Description |
|---|---|---|
static <T> T |
NullCheck.notNull(T x,
java.lang.String message) |
|
static <T,U extends java.util.Collection<T>> |
NullCheck.notNullAll(U x,
java.lang.String message) |
Check that
x is not null, and that all elements of
x are not null, raising NullCheckException iff
x == null. |
Copyright © 2017 <code@io7m.com> http://io7m.com