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  Comparableobjects accounting for nulls | 
public static <T> int safeCompare(Comparable<T> d1, T d2)
Comparable objects accounting for nullsd1 - First objectd2 - Second objectCopyright © 2020. All rights reserved.