public final class ArrayUtils extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
static boolean |
contains(String[] array,
String valueToFind) |
static int |
indexOf(String[] array,
String valueToFind,
int startIndex) |
static boolean |
isEmpty(Object[] array)
Checks if the array is null or empty.
|
static boolean |
isNotEmpty(Object[] array)
Checks if the array is not null or empty.
|
public static boolean isEmpty(Object[] array)
Checks if the array is null or empty.
array - th array to checktrue if the array is null or empty.public static boolean isNotEmpty(Object[] array)
Checks if the array is not null or empty.
array - th array to checktrue if the array is not null or empty.Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.