| Modifier and Type | Method and Description |
|---|---|
String |
asString() |
protected static <T extends PMessage<T>> |
asString(T message)
Prints a compact string representation of the message.
|
boolean |
compact() |
protected static <T extends Comparable<T>> |
compare(T o1,
T o2)
Compare two values to each other.
|
int |
compareTo(T other) |
boolean |
equals(Object o) |
Object |
get(int key) |
boolean |
has(int key) |
int |
hashCode() |
int |
num(int key) |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitdescriptor, mergeWith, mutatepublic int compareTo(T other)
compareTo in interface Comparable<T extends PMessage<T>>public String asString()
protected static <T extends PMessage<T>> String asString(T message)
T - The message type.message - The message to stringify.protected static <T extends Comparable<T>> int compare(T o1, T o2)
T - The object type.o1 - The first value.o2 - The second value.Copyright © 2016. All rights reserved.