public class ComparableUtils extends Object
| Constructor and Description | 
|---|
ComparableUtils()  | 
| Modifier and Type | Method and Description | 
|---|---|
static <T> int | 
safeCompare(Comparable<T> d1,
           T d2)
Does a safe comparison of two  
Comparable objects accounting for nulls | 
public static <T> int safeCompare(Comparable<T> d1, T d2)
Comparable objects accounting for nullsd1 - First objectd2 - Second objectCopyright © 2018. All rights reserved.