Class LangUtils
- java.lang.Object
 - 
- org.apache.commons.httpclient.util.LangUtils
 
 
- 
@Deprecated public class LangUtils extends java.lang.ObjectDeprecated.Jakarta Commons HttpClient 3.x is deprecated in the Jenkins project. It is not recommended to use it in any new code. Instead, use HTTP client API plugins as a dependency in your code. E.g. Apache HttpComponents Client API 4.x Plugin or Async HTTP Client Plugin.A 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_OFFSETDeprecated.static intHASH_SEEDDeprecated. 
- 
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static booleanequals(java.lang.Object obj1, java.lang.Object obj2)Deprecated.static inthashCode(int seed, boolean b)Deprecated.static inthashCode(int seed, int hashcode)Deprecated.static inthashCode(int seed, java.lang.Object obj)Deprecated. 
 - 
 
- 
- 
Field Detail
- 
HASH_SEED
public static final int HASH_SEED
Deprecated.- See Also:
 - Constant Field Values
 
 
- 
HASH_OFFSET
public static final int HASH_OFFSET
Deprecated.- See Also:
 - Constant Field Values
 
 
 - 
 
- 
Method Detail
- 
hashCode
public static int hashCode(int seed, int hashcode)Deprecated. 
- 
hashCode
public static int hashCode(int seed, java.lang.Object obj)Deprecated. 
- 
hashCode
public static int hashCode(int seed, boolean b)Deprecated. 
- 
equals
public static boolean equals(java.lang.Object obj1, java.lang.Object obj2)Deprecated. 
 - 
 
 -