Example usage for java.lang Number hashCode

List of usage examples for java.lang Number hashCode

Introduction

In this page you can find the example usage for java.lang Number hashCode.

Prototype

@HotSpotIntrinsicCandidate
public native int hashCode();

Source Link

Document

Returns a hash code value for the object.

Usage

From source file:org.jasig.ssp.model.AbstractAuditable.java

protected final int hashField(final String name, final Number value) {
    return (value == null ? name.hashCode() : value.hashCode());
}