>>-compare(first,second)--------------------------------><
This method returns "-1" if the second is larger than first object, "0" if the two objects are equal, and "1" second is smaller than first .
The default Comparator compare() method assumes that
first is an object that implements the Comparable compareTo method (
Section 5.4.4.2, “compareTo”. Subclasses may override this to implement more specific comparisons.