MCPcopy Create free account
hub / github.com/EdwardRaff/JSAT / compare

Method compare

JSAT/src/jsat/utils/IntPriorityQueue.java:20–24  ·  view source on GitHub ↗
(Integer o1, Integer o2)

Source from the content-addressed store, hash-verified

18 public static final Comparator<Integer> naturalComparator = new Comparator<Integer>() {
19
20 @Override
21 public int compare(Integer o1, Integer o2)
22 {
23 return o1.compareTo(o2);
24 }
25 };
26
27 /**

Callers 1

cmpMethod · 0.45

Calls 1

compareToMethod · 0.45

Tested by

no test coverage detected