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