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

Method compare

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

getXMethod · 0.65

Tested by

no test coverage detected