public class FuzzyPreconditions extends Object
| Constructor and Description |
|---|
FuzzyPreconditions() |
| Modifier and Type | Method and Description |
|---|---|
static <T> T[] |
checkNotEmpty(T[] array) |
static <T> T |
checkNotNull(String message,
T t) |
static <T> T |
checkNotNull(T t) |
static <T,C extends Collection<T>> |
checkNotNullAndContainsNoNulls(C c) |
static <T> T[] |
checkNotNullAndContainsNoNulls(T[] array) |
public static <T> T checkNotNull(T t)
public static <T> T checkNotNull(String message, T t)
public static <T> T[] checkNotNullAndContainsNoNulls(T[] array)
public static <T,C extends Collection<T>> C checkNotNullAndContainsNoNulls(C c)
public static <T> T[] checkNotEmpty(T[] array)
Copyright © 2017 Redfin. All rights reserved.