public boolean equals()

in core/src/main/java/org/apache/jsieve/comparators/AsciiNumeric.java [42:56]


    public boolean equals(String string1, String string2) {
        final boolean result;
        if (isPositiveInfinity(string1)) {
            result = isPositiveInfinity(string2);
        } else {
            if (isPositiveInfinity(string2)) {
                result = false;
            } else {
                final BigInteger integer1 = toInteger(string1);
                final BigInteger integer2 = toInteger(string2);
                result = integer1.equals(integer2);
            }
        }
        return result;
    }