public boolean equals()

in core/src/main/java/org/apache/commons/functor/core/Constant.java [115:124]


    public boolean equals(Object obj) {
        if (obj == this) {
            return true;
        }
        if (!(obj instanceof Constant<?>)) {
            return false;
        }
        Constant<?> that = (Constant<?>) obj;
        return null == this.value ? null == that.value : this.value.equals(that.value);
    }