MCPcopy Create free account
hub / github.com/e2wugui/zeze / compareTo

Method compareTo

ZezeJava/ZezeJava/src/main/java/Zeze/Util/Id128.java:159–163  ·  view source on GitHub ↗
(@NotNull Id128 o)

Source from the content-addressed store, hash-verified

157 }
158
159 @Override
160 public int compareTo(@NotNull Id128 o) {
161 var c = Long.compareUnsigned(high, o.high);
162 return c != 0 ? c : Long.compareUnsigned(low, o.low);
163 }
164
165 @Override
166 public @NotNull String toString() {

Callers 2

testOrderMethod · 0.95
runMethod · 0.45

Calls

no outgoing calls

Tested by 1

testOrderMethod · 0.76