MCPcopy Create free account
hub / github.com/davidgiven/luje / compare

Method compare

lib/java/util/Collections.java:198–202  ·  view source on GitHub ↗
(T o1, T o2)

Source from the content-addressed store, hash-verified

196 private static final long serialVersionUID = 7207038068494060240L;
197
198 @SuppressWarnings("unchecked")
199 public int compare(T o1, T o2) {
200 Comparable<T> c2 = (Comparable<T>) o2;
201 return c2.compareTo(o1);
202 }
203
204// private Object readResolve() throws ObjectStreamException {
205// return INSTANCE;

Callers

nothing calls this directly

Calls 1

compareToMethod · 0.65

Tested by

no test coverage detected