Compares two messages by their ID (alphabetically). @see String#compareTo(String)
(Message m)
| 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 |