Tests if the array contains the specified element.

This function effectively is the same as the expression:

a.indexOf(elem) >= 0
See Also:
containsIgnoreCase(Object[] strings, String str)