Android
org.apache.http.util
public final class

org.apache.http.util.LangUtils

java.lang.Object
org.apache.http.util.LangUtils

A set of utility methods to help produce consistent equals and hashCode methods.

Summary

Constants

      Value  
int  HASH_OFFSET    37  0x00000025 
int  HASH_SEED    17  0x00000011 

Public Methods

      static    boolean  equals(Object obj1, Object obj2)
      static    boolean  equals(Object[] a1, Object[] a2)
      static    int  hashCode(int seed, int hashcode)
      static    int  hashCode(int seed, Object obj)
      static    int  hashCode(int seed, boolean b)
Methods inherited from class java.lang.Object

Details

Constants

public static final int HASH_OFFSET

Constant Value: 37 (0x00000025)

public static final int HASH_SEED

Constant Value: 17 (0x00000011)

Public Methods

public static boolean equals(Object obj1, Object obj2)

public static boolean equals(Object[] a1, Object[] a2)

public static int hashCode(int seed, int hashcode)

public static int hashCode(int seed, Object obj)

public static int hashCode(int seed, boolean b)

Copyright 2007 Google Inc. Build 0.9_r1-98467 - 14 Aug 2008 18:48