List of usage examples for org.jfree.util ObjectUtilities hashCode
public static int hashCode(final Object object)
null
. From source file:org.jfree.experimental.chart.plot.dial.DialPlot.java
/** * Returns a hash code for this instance. * /*from w w w .j av a 2 s .c o m*/ * @return The hash code. */ public int hashCode() { int result = 193; result = 37 * result + ObjectUtilities.hashCode(this.background); result = 37 * result + ObjectUtilities.hashCode(this.cap); result = 37 * result + this.dialFrame.hashCode(); long temp = Double.doubleToLongBits(this.viewX); result = 37 * result + (int) (temp ^ (temp >>> 32)); temp = Double.doubleToLongBits(this.viewY); result = 37 * result + (int) (temp ^ (temp >>> 32)); temp = Double.doubleToLongBits(this.viewW); result = 37 * result + (int) (temp ^ (temp >>> 32)); temp = Double.doubleToLongBits(this.viewH); result = 37 * result + (int) (temp ^ (temp >>> 32)); return result; }