Example usage for javax.naming Context hashCode

List of usage examples for javax.naming Context hashCode

Introduction

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

/**
 * @see java.lang.Object#hashCode()/* w w w  .j a  v  a  2 s .co m*/
 */
public int hashCode() {
    final Context context = this.getInnermostDelegateContext();
    return (context != null ? context.hashCode() : 0);
}