Class LangUtils
- java.lang.Object
-
- org.apache.commons.httpclient.util.LangUtils
-
public class LangUtils extends java.lang.ObjectA set of utility methods to help produce consistent Object#equals(Object) and Object#hashCode methods.- Since:
- 3.0
-
-
Field Summary
Fields Modifier and Type Field Description static intHASH_OFFSETstatic intHASH_SEED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanequals(java.lang.Object obj1, java.lang.Object obj2)static inthashCode(int seed, boolean b)static inthashCode(int seed, int hashcode)static inthashCode(int seed, java.lang.Object obj)
-
-
-
Field Detail
-
HASH_SEED
public static final int HASH_SEED
- See Also:
- Constant Field Values
-
HASH_OFFSET
public static final int HASH_OFFSET
- See Also:
- Constant Field Values
-
-