|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.xmlmind.util.ObjectUtil
public final class ObjectUtil
A collection of utility functions (static methods) operating on Objects.
| Field Summary | |
|---|---|
static java.lang.Object[] |
NO_OBJECTS
An empty array of Objects. |
| Method Summary | |
|---|---|
static boolean |
equals(java.lang.Object o1,
java.lang.Object o2)
Tests if specified objects are equal using equals(). |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.Object[] NO_OBJECTS
| Method Detail |
|---|
public static final boolean equals(java.lang.Object o1,
java.lang.Object o2)
equals().
Unlike with equals(), both objects may be
null and two null objects are always
considered to be equal.
This function is missing in java.util.Arrays which, on the other
hand, has all the other functions: Arrays.equals(boolean[],
boolean[]), Arrays.equals(byte[], byte[]), ...,
Arrays.equals(Object[], Object[]).
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||