|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectch.panter.li.bi.util.HashCodeTool
public final class HashCodeTool
Provides some utility methods for implementing common methods on general classes.
| Method Summary | |
|---|---|
static int |
addHashCode(int hash,
boolean obj)
Adds the computed hash code of the given object to the given precomputed hash code according to the spec for lists. |
static int |
addHashCode(int hash,
byte obj)
Adds the computed hash code of the given object to the given precomputed hash code according to the spec for lists. |
static int |
addHashCode(int hash,
char obj)
Adds the computed hash code of the given object to the given precomputed hash code according to the spec for lists. |
static int |
addHashCode(int hash,
double obj)
Adds the computed hash code of the given object to the given precomputed hash code according to the spec for lists. |
static int |
addHashCode(int hash,
float obj)
Adds the computed hash code of the given object to the given precomputed hash code according to the spec for lists. |
static int |
addHashCode(int hash,
int obj)
Adds the computed hash code of the given object to the given precomputed hash code according to the spec for lists. |
static int |
addHashCode(int hash,
long obj)
Adds the computed hash code of the given object to the given precomputed hash code according to the spec for lists. |
static int |
addHashCode(int hash,
Object obj)
Adds the computed hash code of the given object to the given precomputed hash code according to the spec for lists. |
static int |
addHashCode(int hash,
short obj)
Adds the computed hash code of the given object to the given precomputed hash code according to the spec for lists. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static int addHashCode(int hash,
int obj)
hash - the precomputed hashobj - the object of which the hash should be added to the precomputed hash
public static int addHashCode(int hash,
boolean obj)
hash - the precomputed hashobj - the object of which the hash should be added to the precomputed hash
public static int addHashCode(int hash,
long obj)
hash - the precomputed hashobj - the object of which the hash should be added to the precomputed hash
public static int addHashCode(int hash,
double obj)
hash - the precomputed hashobj - the object of which the hash should be added to the precomputed hash
public static int addHashCode(int hash,
float obj)
hash - the precomputed hashobj - the object of which the hash should be added to the precomputed hash
public static int addHashCode(int hash,
short obj)
hash - the precomputed hashobj - the object of which the hash should be added to the precomputed hash
public static int addHashCode(int hash,
char obj)
hash - the precomputed hashobj - the object of which the hash should be added to the precomputed hash
public static int addHashCode(int hash,
byte obj)
hash - the precomputed hashobj - the object of which the hash should be added to the precomputed hash
public static int addHashCode(int hash,
Object obj)
hash - the precomputed hashobj - the object of which the hash should be added to the precomputed hash. may be null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||