public class Common extends ICore
| Constructor and Description |
|---|
Common() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
keyValue(java.lang.String key,
java.lang.Object value)
Returns a string in the form "key: value", where the string for value is via
toString(value). |
static java.lang.Object[] |
objary(java.lang.Object... args)
Converts varargs to Object[].
|
static java.lang.String |
toString(java.lang.Object obj)
Returns the object as a string.
|
public static java.lang.String keyValue(java.lang.String key,
java.lang.Object value)
toString(value).key - the keyvalue - the valueKeyValuepublic static java.lang.String toString(java.lang.Object obj)
obj - the object whence to get a stringObj.toString()public static java.lang.Object[] objary(java.lang.Object... args)
ary("one", 1) is shorter than new Object[] {
"one", 1 }args - the array, as varargs