|
Joda System API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--org.joda.property.impl.BeanTools
Basic utility functionality operating on beans.
| Constructor Summary | |
BeanTools()
|
|
| Method Summary | |
static boolean |
equalsDeep(Bean bean1,
Bean bean2)
Compares two Beans, taking into account their own properties including linking properties, processing recursively. |
static boolean |
equalsShallow(Bean bean1,
Bean bean2)
Compares two Beans, based only on their own property values. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public BeanTools()
| Method Detail |
public static boolean equalsShallow(Bean bean1,
Bean bean2)
bean1 - first beanbean2 - second bean
public static boolean equalsDeep(Bean bean1,
Bean bean2)
The method checks for beans which hold references to already checked beans to avoid infinite recursion.
bean1 - first beanbean2 - second bean
|
Joda System API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||