MCPcopy Create free account
hub / github.com/Neop/mudmap2 / compare

Method compare

src/main/java/mudmap2/utils/PlaceYComparator.java:17–20  ·  view source on GitHub ↗
(final Place o1, final Place o2)

Source from the content-addressed store, hash-verified

15 }
16
17 @Override
18 public int compare(final Place o1, final Place o2) {
19 return reverse ? Integer.compare(o2.getY(), o1.getY()) : Integer.compare(o1.getY(), o2.getY());
20 }
21
22}

Callers

nothing calls this directly

Calls 1

getYMethod · 0.65

Tested by

no test coverage detected