public static int compareTo(Object left,Object right){
  return compareToWithEqualityCheck(left,right,false);
}

public static int compareTo ( Object left , Object right ) { return compareToWithEqualityCheck ( left , right , false ) ; }
compares the two objects handling nulls gracefully and performing numeric type coercion if required
