Class BigDecimalComparator

  • All Implemented Interfaces:
    java.util.Comparator<java.math.BigDecimal>

    public class BigDecimalComparator
    extends AbstractComparableNumberComparator<java.math.BigDecimal>
    A BigDecimal Comparator based on BigDecimal.compareTo(BigDecimal).
    Is useful if ones wants to use BigDecimal assertions based on BigDecimal.compareTo(BigDecimal) instead of BigDecimal.equals(Object) method.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.Comparator

        equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong