Classes

Array

Method Summary
Method Attributes Method Name and Description
<boolean>  
contains(needle)
Tests if an array element contains the specified String by iterating over each array element and calling String.contains(needle).
<int>  
Finds which array element contains the specified String by iterating over each array element and calling String.contains(needle).
Method Detail
{boolean} contains(needle)
Tests if an array element contains the specified String by iterating over each array element and calling String.contains(needle).
Parameters:
{String} needle
Returns:
true if an array element contains the specified String value, false otherwise.

{int} indexOfContains(needle)
Finds which array element contains the specified String by iterating over each array element and calling String.contains(needle).
Parameters:
{String} needle
Returns:
The index of the first matching array element or "-1" if none matches.