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

Method compareTo

ZezeJava/ZezeJava/src/main/java/Zeze/Net/Binary.java:123–127  ·  view source on GitHub ↗
(@NotNull Binary other)

Source from the content-addressed store, hash-verified

121 }
122
123 @Override
124 public int compareTo(@NotNull Binary other) {
125 return Arrays.compareUnsigned(bytes, offset, offset + count,
126 other.bytes, other.offset, other.offset + other.count);
127 }
128
129 public boolean equals(@Nullable Binary other) {
130 return this == other || other != null && count == other.count &&

Callers 1

walkMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected