Example usage for org.apache.http.util LangUtils hashCode

List of usage examples for org.apache.http.util LangUtils hashCode

Introduction

In this page you can find the example usage for org.apache.http.util LangUtils hashCode.

Prototype

public static int hashCode(int i, Object obj) 

Source Link

Usage

From source file:com.mnxfst.testing.server.cfg.PTestNameValuePair.java

public int hashCode() {
    int hash = LangUtils.HASH_SEED;
    hash = LangUtils.hashCode(hash, this.getName());
    return hash;
}

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

/**
 * {@inheritDoc}/* w  w  w. ja  v a2 s  . c  o  m*/
 */
@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.ok2c.lightmtp.agent.SessionEndpoint.java

@Override
public int hashCode() {
    int hash = LangUtils.HASH_SEED;
    hash = LangUtils.hashCode(hash, this.localAddress);
    hash = LangUtils.hashCode(hash, this.remoteAddress);
    return hash;//from   ww w. j ava  2  s. co m
}

From source file:com.jayway.restassured.internal.http.BasicNameValuePairWithNoValueSupport.java

public int hashCode() {
    int hash = LangUtils.HASH_SEED;
    hash = LangUtils.hashCode(hash, this.name);
    hash = LangUtils.hashCode(hash, this.value);
    return hash;/*from  w w  w .j a v  a  2  s  . com*/
}

From source file:com.grendelscan.commons.http.apache_overrides.serializable.SerializableNameValuePair.java

@Override
public int hashCode() {
    int hash = LangUtils.HASH_SEED;
    hash = LangUtils.hashCode(hash, name);
    hash = LangUtils.hashCode(hash, value);
    return hash;/*from  w w w. j  a  v a  2  s  . c o m*/
}

From source file:cn.mimessage.and.sdk.net.request.DefaultValuePair.java

@Override
public int hashCode() {
    int hash = LangUtils.HASH_SEED;
    hash = LangUtils.hashCode(hash, this.name);
    hash = LangUtils.hashCode(hash, this.value);
    return hash;//from w w w.  j  ava 2s .  c om
}