public final class ArrayPreconditions extends Object
| Modifier and Type | Method and Description |
|---|---|
static int[] |
checkNotNullOrEmpty(int[] array)
Verifies that the given array is not
null or empty. |
public static int[] checkNotNullOrEmpty(@Nullable int[] array)
null or empty.array - the given array.NullPointerException - if the given array is null.IllegalArgumentException - if the given array is empty.Copyright © 2014–2019 AssertJ. All rights reserved.