Example usage for org.apache.commons.httpclient.util LangUtils HASH_SEED

List of usage examples for org.apache.commons.httpclient.util LangUtils HASH_SEED

Introduction

In this page you can find the example usage for org.apache.commons.httpclient.util LangUtils HASH_SEED.

Prototype

int HASH_SEED

To view the source code for org.apache.commons.httpclient.util LangUtils HASH_SEED.

Click Source Link

Usage

From source file:com.gargoylesoftware.htmlunit.util.NameValuePair.java

/**
 * {@inheritDoc}//  w w  w . j a  va  2 s . c  om
 */
@Override
public int hashCode() {
    int hash = LangUtils.HASH_SEED;
    hash = LangUtils.hashCode(hash, name_);
    hash = LangUtils.hashCode(hash, value_);
    return hash;
}

From source file:com.cerema.cloud2.lib.common.network.BearerCredentials.java

/**
 * Does a hash of the access token.//from ww  w . jav  a 2s. co m
 *
 * @return The hash code of the access token
 */
public int hashCode() {
    int hash = LangUtils.HASH_SEED;
    hash = LangUtils.hashCode(hash, mAccessToken);
    return hash;
}

From source file:com.tmall.search.httpclient.client.ClientCookie.java

public int hashCode() {
    int hash = LangUtils.HASH_SEED;
    hash = LangUtils.hashCode(hash, this.getName());
    hash = LangUtils.hashCode(hash, this.cookieDomain);
    hash = LangUtils.hashCode(hash, this.cookiePath);
    return hash;/*from   w  w  w. j a v a2  s.c  o m*/
}