Android Utililty Methods Iterator Contains

List of utility methods to do Iterator Contains

Description

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

Method

booleancontains(Iterator iterator, T value)
Check to see if iterable contains a value.
while (iterator.hasNext()) {
    T next = iterator.next();
    if (next.equals(value))
        return true;
return false;