Example usage for javax.naming.ldap LdapContext hashCode

List of usage examples for javax.naming.ldap LdapContext hashCode

Introduction

In this page you can find the example usage for javax.naming.ldap LdapContext hashCode.

Prototype

@HotSpotIntrinsicCandidate
public native int hashCode();

Source Link

Document

Returns a hash code value for the object.

Usage

From source file:org.springframework.ldap.pool.DelegatingLdapContext.java

/**
 * @see java.lang.Object#hashCode()//from  w ww . j  av a  2 s. com
 */
public int hashCode() {
    final LdapContext context = this.getInnermostDelegateLdapContext();
    return (context != null ? context.hashCode() : 0);
}