List of usage examples for org.jfree.chart HashUtilities hashCodeForDoubleArray
public static int hashCodeForDoubleArray(double[] a)
double[]
instance. From source file:org.jfree.data.function.PolynomialFunction2D.java
/** * Returns a hash code for this instance. * * @return A hash code./*from w w w . j av a 2s.com*/ */ @Override public int hashCode() { return HashUtilities.hashCodeForDoubleArray(this.coefficients); }
From source file:vteaexploration.XYPolygonAnnotation.java
/** * Returns a hash code for this instance. * * @return A hash code./* w ww .ja v a 2 s .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; }