MCPcopy Create free account
hub / github.com/apache/poi / compare

Method compare

src/java/org/apache/poi/util/BinaryTree.java:492–495  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

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

Callers 3

lookupMethod · 0.95
insertValueMethod · 0.95
putMethod · 0.95

Calls 1

compareToMethod · 0.65

Tested by

no test coverage detected