|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jtheque.utils.bean.HashCodeUtils
public final class HashCodeUtils
Method Summary | |
---|---|
static int |
hashCode(Object bean)
Generate a hash code for the bean. |
static int |
hashCode(Object bean,
String... properties)
Return the hash code of an object, using the properties in the given list. |
static int |
hashCodeDirect(Object... properties)
Return the hash code of an object, using the properties in the given list. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static int hashCode(Object bean)
bean
- The bean.
public static int hashCode(Object bean, String... properties)
bean
- The bean to generate the hash code from.properties
- The properties to use to generate the hash code.
public static int hashCodeDirect(Object... properties)
properties
- The properties to use to generate the hash code.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |