public boolean equals()

in core/src/main/java/org/apache/commons/functor/generator/loop/WhileGenerate.java [66:75]


    public boolean equals(Object obj) {
        if (obj == this) {
            return true;
        }
        if (!(obj instanceof WhileGenerate<?>)) {
            return false;
        }
        WhileGenerate<?> other = (WhileGenerate<?>) obj;
        return other.getWrappedGenerator().equals(getWrappedGenerator()) && other.test.equals(test);
    }