public class TypeUtils extends Object
| Constructor and Description |
|---|
TypeUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
asString(Object o)
Make an object into a string using the typed tools here.
|
static String |
asString(PMessage<?> message)
Stringify a message.
|
static <T extends Comparable<T>> |
compare(T o1,
T o2)
Compare two values to each other.
|
static boolean |
equalsQualifiedName(PDescriptor a,
PDescriptor b)
Check if the two descriptors has the same qualified name, i..e
symbolically represent the same type.
|
public static String asString(PMessage<?> message)
message - The message to stringify.public static String asString(Object o)
o - The object to stringify.public static boolean equalsQualifiedName(PDescriptor a, PDescriptor b)
a - The first type.b - The second type.public 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.