Android Utililty Methods Iterable Contains

List of utility methods to do Iterable Contains

Description

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

Method

booleancontains(Iterable iterable, T value)
Check to see if iterable contains a value.
if (iterable instanceof Collection)
    return ((Collection) iterable).contains(value);
return contains(iterable.iterator(), value);