类 ArrayUtils
java.lang.Object
com.alibaba.nacos.common.utils.ArrayUtils
Array utils.
- 作者:
- zzq
-
方法概要
-
方法详细资料
-
isEmpty
Checks if an array of Objects is empty or
null.- 参数:
array- the array to test- 返回:
trueif the array is empty ornull
-
contains
Checks if the object is in the given array.
The method returns
falseif anullarray is passed in.- 参数:
array- the array to search throughobjectToFind- the object to find- 返回:
trueif the array contains the object
-