Android Utililty Methods Array Contains

List of utility methods to do Array Contains

Description

The list of methods to do Array Contains are organized into topic(s).

Method

booleancontains(Object[] array, Object objectToFind)

Checks if the object is in the given array.

The method returns false if a null array is passed in.

booleancontains(T[] array, T e)
contains
booleancontains(T[] array, T value)
Checks that value is present as at least one of the elements of the array.
booleancontains(T[] array, T value)
Checks that value is present as at least one of the elements of the array.
booleancontains(T[] array, T value)
Checks that value is present as at least one of the elements of the array.
booleancontains(T[] array, T value)
contains
booleancontains(boolean[] array, boolean valueToFind)

Checks if the value is in the given array.

The method returns false if a null array is passed in.

booleancontains(byte[] array, byte valueToFind)

Checks if the value is in the given array.

The method returns false if a null array is passed in.

booleancontains(char[] array, char valueToFind)

Checks if the value is in the given array.

The method returns false if a null array is passed in.

booleancontains(double[] array, double valueToFind)

Checks if the value is in the given array.

The method returns false if a null array is passed in.