Method Summary |
|
public static Object[] | addObjectToArray(Object[] array, Object obj) Append the given Object to the given array, returning a new array
consisting of the input array contents plus the given Object. |
public static String | getDisplayString(Object obj) Return a content-based String representation if obj is
not null ; otherwise returns an empty String. |
public static String | getIdentityHexString(Object obj) Return a hex String form of an object's identity hash code. |
public static int | hashCode(boolean bool) Return the same value as
Boolean.hashCode . |
public static int | hashCode(double dbl) Return the same value as
Double.hashCode . |
public static int | hashCode(float flt) Return the same value as
Float.hashCode . |
public static int | hashCode(long lng) Return the same value as
Long.hashCode . |
public static String | identityToString(Object obj) Return a String representation of an object's overall identity. |
public static boolean | isCheckedException(Throwable ex) Return whether the given throwable is a checked exception:
that is, neither a RuntimeException nor an Error. |
public static boolean | isCompatibleWithThrowsClause(Throwable ex, Class[] declaredExceptions) Check whether the given exception is compatible with the exceptions
declared in a throws clause. |
public static boolean | isEmpty(Object[] array) Return whether the given array is empty: that is, null
or of zero length. |
public static String | nullSafeClassName(Object obj) Determine the class name for the given object. |
public static boolean | nullSafeEquals(Object o1, Object o2) Determine if the given objects are equal, returning true
if both are null or false if only one is
null . |
public static int | nullSafeHashCode(Object obj) Return as hash code for the given object; typically the value of
Object.hashCode . |
public static int | nullSafeHashCode(Object[] array) Return a hash code based on the contents of the specified array. |
public static int | nullSafeHashCode(boolean[] array) Return a hash code based on the contents of the specified array. |
public static int | nullSafeHashCode(byte[] array) Return a hash code based on the contents of the specified array. |
public static int | nullSafeHashCode(char[] array) Return a hash code based on the contents of the specified array. |
public static int | nullSafeHashCode(double[] array) Return a hash code based on the contents of the specified array. |
public static int | nullSafeHashCode(float[] array) Return a hash code based on the contents of the specified array. |
public static int | nullSafeHashCode(int[] array) Return a hash code based on the contents of the specified array. |
public static int | nullSafeHashCode(long[] array) Return a hash code based on the contents of the specified array. |
public static int | nullSafeHashCode(short[] array) Return a hash code based on the contents of the specified array. |
public static String | nullSafeToString(Object obj) Return a String representation of the specified Object. |
public static String | nullSafeToString(Object[] array) Return a String representation of the contents of the specified array.
The String representation consists of a list of the array's elements,
enclosed in curly braces ("{}" ). |
public static String | nullSafeToString(boolean[] array) Return a String representation of the contents of the specified array.
The String representation consists of a list of the array's elements,
enclosed in curly braces ("{}" ). |
public static String | nullSafeToString(byte[] array) Return a String representation of the contents of the specified array.
The String representation consists of a list of the array's elements,
enclosed in curly braces ("{}" ). |
public static String | nullSafeToString(char[] array) Return a String representation of the contents of the specified array.
The String representation consists of a list of the array's elements,
enclosed in curly braces ("{}" ). |
public static String | nullSafeToString(double[] array) Return a String representation of the contents of the specified array.
The String representation consists of a list of the array's elements,
enclosed in curly braces ("{}" ). |
public static String | nullSafeToString(float[] array) Return a String representation of the contents of the specified array.
The String representation consists of a list of the array's elements,
enclosed in curly braces ("{}" ). |
public static String | nullSafeToString(int[] array) Return a String representation of the contents of the specified array.
The String representation consists of a list of the array's elements,
enclosed in curly braces ("{}" ). |
public static String | nullSafeToString(long[] array) Return a String representation of the contents of the specified array.
The String representation consists of a list of the array's elements,
enclosed in curly braces ("{}" ). |
public static String | nullSafeToString(short[] array) Return a String representation of the contents of the specified array.
The String representation consists of a list of the array's elements,
enclosed in curly braces ("{}" ). |
public static Object[] | toObjectArray(Object source) Convert the given array (which may be a primitive array) to an
object array (if necessary of primitive wrapper objects). |