类 ArrayUtils
- java.lang.Object
-
- com.alibaba.nacos.common.utils.ArrayUtils
-
public class ArrayUtils extends java.lang.ObjectArray utils.- 作者:
- zzq
-
-
构造器概要
构造器 构造器 说明 ArrayUtils()
-
-
-
方法详细资料
-
isEmpty
public static boolean isEmpty(java.lang.Object[] array)
Checks if an array of Objects is empty or
null.- 参数:
array- the array to test- 返回:
trueif the array is empty ornull
-
contains
public static boolean contains(java.lang.Object[] array, java.lang.Object objectToFind)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
-
-