Example usage for javax.naming.directory DirContext hashCode

List of usage examples for javax.naming.directory DirContext hashCode

Introduction

In this page you can find the example usage for javax.naming.directory DirContext 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.DelegatingDirContext.java

/**
 * @see java.lang.Object#hashCode()/*w  w w . ja  v a 2 s  .  c  om*/
 */
public int hashCode() {
    final DirContext context = this.getInnermostDelegateDirContext();
    return (context != null ? context.hashCode() : 0);
}