|
|||||||||
| Home >> All >> org >> apache >> http >> [ util overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.apache.http.util
Class LangUtils

java.lang.Objectorg.apache.http.util.LangUtils
- public class LangUtils
- extends java.lang.Object
A set of utility methods to help produce consistent equals 55 and hashCode 55 methods.
- Since:
- 4.0
| Field Summary | |
static int |
HASH_OFFSET
|
static int |
HASH_SEED
|
| Constructor Summary | |
private |
LangUtils()
|
| Method Summary | |
static boolean |
equals(java.lang.Object[] a1,
java.lang.Object[] a2)
|
static boolean |
equals(java.lang.Object obj1,
java.lang.Object obj2)
|
static int |
hashCode(int seed,
boolean b)
|
static int |
hashCode(int seed,
int hashcode)
|
static int |
hashCode(int seed,
java.lang.Object obj)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 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
| Constructor Detail |
LangUtils
private LangUtils()
| Method Detail |
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,
java.lang.Object obj)
equals
public static boolean equals(java.lang.Object obj1, java.lang.Object obj2)
equals
public static boolean equals(java.lang.Object[] a1, java.lang.Object[] a2)
|
|||||||||
| Home >> All >> org >> apache >> http >> [ util overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
org.apache.http.util.LangUtils