in core/src/main/java/org/apache/commons/functor/core/algorithm/FindWithinGenerator.java [127:137]
public boolean equals(Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof FindWithinGenerator<?>)) {
return false;
}
FindWithinGenerator<?> other = (FindWithinGenerator<?>) obj;
return other.useIfNone == useIfNone && !useIfNone
|| (other.ifNone == this.ifNone || other.ifNone != null && other.ifNone.equals(this.ifNone));
}