the source of the line is provided below, i understand what v.compareTo(w) does but i am curious as to what influence the < 0 has, does it not allow it to return if compareTo returns 1 which is greater than 0? does it not return if anything if compareTo returns 0 because it is equal to 0?
private static boolean less(Comparable v, Comparable w)
{
return v.compareTo(w) < 0;
}