Constructor and Description |
---|
ArrayUtil() |
Modifier and Type | Method and Description |
---|---|
static <T> boolean |
contains(T[] theArray,
T theValue)
Returns true if the array contains the given value, using
Object.equals(Object) . |
public ArrayUtil()
public static <T> boolean contains(T[] theArray, T theValue)
Object.equals(Object)
. Checks for a null value
in the array if theValue is null.theArray
- the array to be checkedtheValue
- value to be search forCopyright © 2001–2017 University Health Network. All rights reserved.