Compare two objects @param o1 the first object @param o2 the second object @return negative value if o1 < o2; 0 if o1 == o2; positive value if o1 > o2
(Comparable o1, Comparable o2)
| 490 | * value if o1 > o2 |
| 491 | */ |
| 492 | private static int compare(Comparable o1, Comparable o2) |
| 493 | { |
| 494 | return o1.compareTo(o2); |
| 495 | } |
| 496 | |
| 497 | /** |
| 498 | * find the least node from a given node. very useful for starting |
no test coverage detected