in core/src/main/java/org/apache/commons/functor/adapter/BoundNullaryFunction.java [63:75]
public boolean equals(Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof BoundNullaryFunction<?>)) {
return false;
}
BoundNullaryFunction<?> that = (BoundNullaryFunction<?>) obj;
if (!(that.function.equals(this.function))) {
return false;
}
return that.arg == this.arg || that.arg != null && that.arg.equals(this.arg);
}