List of usage examples for org.jfree.chart HashUtilities hashCodeForPaint
public static int hashCodeForPaint(Paint p)
Paint
instance. From source file:org.jfree.experimental.chart.plot.dial.DialBackground.java
/** * Returns a hash code for this instance. * //from ww w .ja va2 s .co m * @return The hash code. */ public int hashCode() { int result = 193; result = 37 * result + HashUtilities.hashCodeForPaint(paint); result = 37 * result + this.gradientPaintTransformer.hashCode(); return result; }
From source file:org.jfree.experimental.chart.plot.dial.DialCap.java
/** * Returns a hash code for this instance. * /*w ww . j av a 2 s .c o m*/ * @return The hash code. */ public int hashCode() { int result = 193; result = 37 * result + HashUtilities.hashCodeForPaint(this.fillPaint); result = 37 * result + HashUtilities.hashCodeForPaint(this.outlinePaint); result = 37 * result + this.outlineStroke.hashCode(); return result; }
From source file:org.jfree.experimental.chart.plot.dial.SimpleDialFrame.java
/** * Returns a hash code for this instance. * /* ww w . j a v a 2 s . c om*/ * @return The hash code. */ public int hashCode() { int result = 193; long temp = Double.doubleToLongBits(this.radius); result = 37 * result + (int) (temp ^ (temp >>> 32)); result = 37 * result + HashUtilities.hashCodeForPaint(this.backgroundPaint); result = 37 * result + HashUtilities.hashCodeForPaint(this.foregroundPaint); result = 37 * result + this.stroke.hashCode(); return result; }
From source file:org.jfree.experimental.chart.plot.dial.DialTextAnnotation.java
/** * Returns a hash code for this instance. * //from w ww . jav a2 s . c o m * @return The hash code. */ public int hashCode() { int result = 193; result = 37 * result + HashUtilities.hashCodeForPaint(this.paint); result = 37 * result + this.font.hashCode(); result = 37 * result + this.label.hashCode(); result = 37 * result + this.anchor.hashCode(); long temp = Double.doubleToLongBits(this.angle); result = 37 * result + (int) (temp ^ (temp >>> 32)); temp = Double.doubleToLongBits(this.radius); result = 37 * result + (int) (temp ^ (temp >>> 32)); return result; }
From source file:org.jfree.experimental.chart.plot.dial.StandardDialRange.java
/** * Returns a hash code for this instance. * /*from ww w . ja v a2s . c om*/ * @return The hash code. */ public int hashCode() { int result = 193; long temp = Double.doubleToLongBits(this.increment); result = 37 * result + (int) (temp ^ (temp >>> 32)); temp = Double.doubleToLongBits(this.lowerBound); result = 37 * result + (int) (temp ^ (temp >>> 32)); temp = Double.doubleToLongBits(this.upperBound); result = 37 * result + (int) (temp ^ (temp >>> 32)); temp = Double.doubleToLongBits(this.innerRadius); result = 37 * result + (int) (temp ^ (temp >>> 32)); temp = Double.doubleToLongBits(this.outerRadius); result = 37 * result + (int) (temp ^ (temp >>> 32)); result = 37 * result + HashUtilities.hashCodeForPaint(this.paint); return result; }
From source file:net.sf.maltcms.chromaui.annotations.XYSelectableShapeAnnotation.java
/** * Returns a hash code for this instance. * * @return A hash code.//from w ww . ja v a2s.c o m */ @Override public int hashCode() { int result = 193; result = 37 * result + this.s.hashCode(); if (this.stroke != null) { result = 37 * result + this.stroke.hashCode(); } result = 37 * result + HashUtilities.hashCodeForPaint(this.outline); result = 37 * result + HashUtilities.hashCodeForPaint(this.highlight); return result; }
From source file:vteaexploration.XYPolygonAnnotation.java
/** * Returns a hash code for this instance. * * @return A hash code./*from www . j a va 2s . c o m*/ */ public int hashCode() { int result = 193; result = 37 * result + HashUtilities.hashCodeForDoubleArray(this.polygon); result = 37 * result + HashUtilities.hashCodeForPaint(this.fillPaint); result = 37 * result + HashUtilities.hashCodeForPaint(this.outlinePaint); if (this.stroke != null) { result = 37 * result + this.stroke.hashCode(); } return result; }
From source file:org.jfree.experimental.chart.plot.dial.StandardDialFrame.java
/** * Returns a hash code for this instance. * /* w ww. j av a 2 s . co m*/ * @return The hash code. */ public int hashCode() { int result = 193; long temp = Double.doubleToLongBits(this.startAngle); result = 37 * result + (int) (temp ^ (temp >>> 32)); temp = Double.doubleToLongBits(this.extent); result = 37 * result + (int) (temp ^ (temp >>> 32)); temp = Double.doubleToLongBits(this.innerRadius); result = 37 * result + (int) (temp ^ (temp >>> 32)); temp = Double.doubleToLongBits(this.outerRadius); result = 37 * result + (int) (temp ^ (temp >>> 32)); result = 37 * result + HashUtilities.hashCodeForPaint(this.backgroundPaint); result = 37 * result + HashUtilities.hashCodeForPaint(this.foregroundPaint); result = 37 * result + this.stroke.hashCode(); return result; }
From source file:org.jfree.experimental.chart.plot.dial.DialValueIndicator.java
/** * Returns a hash code for this instance. * /*from w ww. ja v a2s . com*/ * @return The hash code. */ public int hashCode() { int result = 193; result = 37 * result + HashUtilities.hashCodeForPaint(this.paint); result = 37 * result + HashUtilities.hashCodeForPaint(this.backgroundPaint); result = 37 * result + HashUtilities.hashCodeForPaint(this.outlinePaint); result = 37 * result + this.outlineStroke.hashCode(); return result; }