- org.codehaus.groovy.runtime.NumberAwareComparator
-
- All Implemented Interfaces and Traits:
- Comparator
public class NumberAwareComparator
extends Object
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.
-
-
Methods Summary
Methods
Type |
Name and description |
int |
compare(T o1, T o2)
|
-
Inherited Methods Summary
-
-
Method Detail
-
public int compare(T o1, T o2)
- Summary:
Nested Field Constructor - Method
- | Detail:
Field Constructor - Method
Copyright © 2003-2015 The Apache Software Foundation. All rights reserved.