org.apache.http.util
Class LangUtils
java.lang.Object
org.apache.http.util.LangUtils
public final class LangUtils
- extends Object
A set of utility methods to help produce consistent
equals
and hashCode
methods.
- Since:
- 4.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
hashCode
public static int hashCode(int seed,
int hashcode)
hashCode
public static int hashCode(int seed,
boolean b)
hashCode
public static int hashCode(int seed,
Object obj)
equals
public static boolean equals(Object obj1,
Object obj2)
equals
public static boolean equals(Object[] a1,
Object[] a2)
Copyright © 2005-2011 The Apache Software Foundation. All Rights Reserved.