The current way of knowing if a BigDecimal is greater than another isbigDecimal.compareTo(otherBigDecimal) > 0(or one.compareTo(another) == 1), but I find it too clunky and unexpressive. bigDecimal.isGreaterThan(otherBigDecimal) is easier to understand.For people who are used to Java and know how compareTo() works, the present way makes sense. For someone who has OO programming experience other than Java, I assume they would have to look at the API to understand what the magic numbers are for in this operation.I saw no attempt in Guava or Apache's NumberUtils to fix this and we are already about to reach Java 9.In gist, what I'm asking is, is there any legitimate reason that this clunky way of comparing BigDecimals has not been redone? (Other than There's so much to fix in Java, this just is not a priority.)
In Java, why is there no instance method like bigDecimal.isGreaterThan(otherBigDecimal)?
java;api design;javadocs