| Modifier and Type | Field and Description |
|---|---|
| public static final Object[] | EMPTY_OBJECT_ARRAY
Shared instance of an empty array of Objects, which is sometimes useful! |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static String | Returns: String representation of the formclassName(p1=value,p2=value,...)Utility method to create a simple String representation of a JavaBean Object by
showing all properties |
| public static <E> E[] | |
| public static boolean | |
| public static boolean | Returns: true if either o1==o2 or (o1!=null and o1.equals(o2))Checks equality of two Objects, allowing the case where o1==o2==null to return true. |
| public static String | safeToString(Object object)
Convenience toString() method that can be applied safely to a null Object, yielding null. |
| EMPTY_OBJECT_ARRAY | back to summary |
|---|---|
| public static final Object[] EMPTY_OBJECT_ARRAY Shared instance of an empty array of Objects, which is sometimes useful! | |
| ObjectUtilities | back to summary |
|---|---|
| public ObjectUtilities() | |
| beanToString | back to summary |
|---|---|
| public static String beanToString(Object bean) Utility method to create a simple String representation of a JavaBean Object by
showing all properties
| |
| concat | back to summary |
|---|---|
public static <E> E[] concat(final E[] array1, final E[] array2, final Class<E> itemClass)
| |
| isNullOrEmpty | back to summary |
|---|---|
| public static boolean isNullOrEmpty(Object[] array) | |
| nullSafeEquals | back to summary |
|---|---|
| public static boolean nullSafeEquals(Object o1, Object o2) Checks equality of two Objects, allowing the case where o1==o2==null to return true. The equals() method on o2 should be compatible with equality.
| |
| safeToString | back to summary |
|---|---|
| public static String safeToString(Object object) Convenience toString() method that can be applied safely to a null Object, yielding null. | |