Java Utililty Methods Iterable Contain

List of utility methods to do Iterable Contain

Description

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

Method

booleaniterableContains(Iterable itrbl, E elem)
Checks whether itrbl contains the element elem.
for (E e : itrbl) {
    if (e.equals(elem))
        return true;
return false;
booleaniterableContains(Iterable iterable, O element)
iterable Contains
for (O contained : iterable) {
    if (contained.equals(element)) {
        return true;
return false;