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

Method compare

JSAT/src/jsat/linear/VecPaired.java:327–331  ·  view source on GitHub ↗
(VecPaired<V, P> o1, VecPaired<V, P> o2)

Source from the content-addressed store, hash-verified

325 Comparator<VecPaired<V, P>> comp = new Comparator<VecPaired<V, P>>() {
326
327 @Override
328 public int compare(VecPaired<V, P> o1, VecPaired<V, P> o2)
329 {
330 return o1.getPair().compareTo(o2.getPair());
331 }
332 };
333 return comp;
334 };

Callers

nothing calls this directly

Calls 2

compareToMethod · 0.45
getPairMethod · 0.45

Tested by

no test coverage detected