|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.infoglue.cms.util.DomainUtils
public final class DomainUtils
Utility class for the domain objects. This class cannot be instantiated.
| Method Summary | |
|---|---|
static int |
compare(java.lang.Comparable c1,
java.lang.Comparable c2)
Compares two comparable objects, considering the possibility that one or both may be null. |
static boolean |
equals(java.util.Collection c1,
java.util.Collection c2)
Compares two collections for equality, considering the possibility that one or both may be null. |
static boolean |
equals(java.lang.Object o1,
java.lang.Object o2)
Compares two objects for equality, considering the possibility that one or both may be null. |
static int |
hashCode(java.lang.Object s)
Returns an appropriate hash code for the given object, considering the possibilty that the object may be null. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static boolean equals(java.lang.Object o1,
java.lang.Object o2)
o1 - an objecto2 - another object
public static boolean equals(java.util.Collection c1,
java.util.Collection c2)
c1 - a collectionc2 - another collection
public static int compare(java.lang.Comparable c1,
java.lang.Comparable c2)
c1 - an objectc2 - another object
public static int hashCode(java.lang.Object s)
s - a string
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||