List of usage examples for org.springframework.util.comparator ComparableComparator subclass-usage
From source file org.springmodules.validation.util.condition.range.NumberAwareComparableComparator.java
/**
* A comparator that compares {@link Comparable} instances but treats comparison
* of {@link Number} instances in a special manner. In order to support
* comparison of numbers regardless of their type, this comparator transform the
* numbers to {@link BigDecimal} and then does the comparison.
*