MCPcopy Create free account
hub / github.com/akeranen/the-one / compareTo

Method compareTo

core/Message.java:338–340  ·  view source on GitHub ↗

Compares two messages by their ID (alphabetically). @see String#compareTo(String)

(Message m)

Source from the content-addressed store, hash-verified

336 * @see String#compareTo(String)
337 */
338 public int compareTo(Message m) {
339 return toString().compareTo(m.toString());
340 }
341
342 /**
343 * Resets all static fields to default values

Callers

nothing calls this directly

Calls 2

toStringMethod · 0.95
toStringMethod · 0.65

Tested by

no test coverage detected