- All Implemented Interfaces:
- java.util.Comparator<T>
public class NumberAwareComparator<T>
extends java.lang.Object
implements java.util.Comparator<T>
Compares two objects using Groovy's friendly comparison algorithm, i.e.
handles nulls gracefully (nul being less than everything else) and
performs numeric type coercion if required.