/** * Returns a hash code for this instance. * * @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; }
/** * Returns a hash code for this instance. * * @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; }
/** * Returns a hash code for this instance. * * @return A hash code. */ public int hashCode() { int result = 193; long temp = Double.doubleToLongBits(this.angle); result = 37 * result + (int) (temp ^ (temp >>> 32)); temp = Double.doubleToLongBits(this.tipRadius); result = 37 * result + (int) (temp ^ (temp >>> 32)); temp = Double.doubleToLongBits(this.baseRadius); result = 37 * result + (int) (temp ^ (temp >>> 32)); temp = Double.doubleToLongBits(this.arrowLength); result = 37 * result + (int) (temp ^ (temp >>> 32)); temp = Double.doubleToLongBits(this.arrowWidth); result = 37 * result + (int) (temp ^ (temp >>> 32)); result = 37 * result + HashUtilities.hashCodeForPaint(this.arrowPaint); result = 37 * result + this.arrowStroke.hashCode(); temp = Double.doubleToLongBits(this.labelOffset); result = 37 * result + (int) (temp ^ (temp >>> 32)); return result; }
/** * Returns a hash code for this instance. * * @return A hash code. */ public int hashCode() { int result = super.hashCode(); long temp = Double.doubleToLongBits(this.angle); result = 37 * result + (int) (temp ^ (temp >>> 32)); temp = Double.doubleToLongBits(this.tipRadius); result = 37 * result + (int) (temp ^ (temp >>> 32)); temp = Double.doubleToLongBits(this.baseRadius); result = 37 * result + (int) (temp ^ (temp >>> 32)); temp = Double.doubleToLongBits(this.arrowLength); result = 37 * result + (int) (temp ^ (temp >>> 32)); temp = Double.doubleToLongBits(this.arrowWidth); result = 37 * result + (int) (temp ^ (temp >>> 32)); result = result * 37 + HashUtilities.hashCodeForPaint(this.arrowPaint); result = result * 37 + this.arrowStroke.hashCode(); temp = Double.doubleToLongBits(this.labelOffset); result = 37 * result + (int) (temp ^ (temp >>> 32)); return super.hashCode(); }
/** * Returns a hash code for the object. * * @return A hash code. */ public int hashCode() { int result = 193; result = 37 * this.text.hashCode(); result = 37 * this.font.hashCode(); result = 37 * result + HashUtilities.hashCodeForPaint(this.paint); long temp = Double.doubleToLongBits(this.x); result = 37 * result + (int) (temp ^ (temp >>> 32)); temp = Double.doubleToLongBits(this.y); result = 37 * result + (int) (temp ^ (temp >>> 32)); result = 37 * result + this.textAnchor.hashCode(); result = 37 * result + this.rotationAnchor.hashCode(); temp = Double.doubleToLongBits(this.rotationAngle); result = 37 * result + (int) (temp ^ (temp >>> 32)); return result; }
/** * Returns a hash code for this instance. * * @return The hash code. */ @Override 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; }
/** * Returns a hash code for this instance. * * @return A hash code. */ @Override public int hashCode() { int hash = 7; hash = HashUtilities.hashCode(hash, this.visible); hash = HashUtilities.hashCode(hash, this.value); hash = HashUtilities.hashCode(hash, this.paint); hash = HashUtilities.hashCode(hash, this.stroke); hash = HashUtilities.hashCode(hash, this.labelVisible); hash = HashUtilities.hashCode(hash, this.labelAnchor); hash = HashUtilities.hashCode(hash, this.labelGenerator); hash = HashUtilities.hashCode(hash, this.labelXOffset); hash = HashUtilities.hashCode(hash, this.labelYOffset); hash = HashUtilities.hashCode(hash, this.labelFont); hash = HashUtilities.hashCode(hash, this.labelPaint); hash = HashUtilities.hashCode(hash, this.labelBackgroundPaint); hash = HashUtilities.hashCode(hash, this.labelOutlineVisible); hash = HashUtilities.hashCode(hash, this.labelOutlineStroke); hash = HashUtilities.hashCode(hash, this.labelOutlinePaint); return hash; }
/** * Returns a hash code for this instance. * * @return A hash code. */ @Override public int hashCode() { int result = 193; long temp = Double.doubleToLongBits(this.angle); result = 37 * result + (int) (temp ^ (temp >>> 32)); temp = Double.doubleToLongBits(this.tipRadius); result = 37 * result + (int) (temp ^ (temp >>> 32)); temp = Double.doubleToLongBits(this.baseRadius); result = 37 * result + (int) (temp ^ (temp >>> 32)); temp = Double.doubleToLongBits(this.arrowLength); result = 37 * result + (int) (temp ^ (temp >>> 32)); temp = Double.doubleToLongBits(this.arrowWidth); result = 37 * result + (int) (temp ^ (temp >>> 32)); result = 37 * result + HashUtilities.hashCodeForPaint(this.arrowPaint); result = 37 * result + this.arrowStroke.hashCode(); temp = Double.doubleToLongBits(this.labelOffset); result = 37 * result + (int) (temp ^ (temp >>> 32)); return result; }
/** * Returns a hash code for this instance. * * @return A hash code. */ @Override public int hashCode() { int result = super.hashCode(); long temp = Double.doubleToLongBits(this.angle); result = 37 * result + (int) (temp ^ (temp >>> 32)); temp = Double.doubleToLongBits(this.tipRadius); result = 37 * result + (int) (temp ^ (temp >>> 32)); temp = Double.doubleToLongBits(this.baseRadius); result = 37 * result + (int) (temp ^ (temp >>> 32)); temp = Double.doubleToLongBits(this.arrowLength); result = 37 * result + (int) (temp ^ (temp >>> 32)); temp = Double.doubleToLongBits(this.arrowWidth); result = 37 * result + (int) (temp ^ (temp >>> 32)); result = result * 37 + HashUtilities.hashCodeForPaint(this.arrowPaint); result = result * 37 + this.arrowStroke.hashCode(); temp = Double.doubleToLongBits(this.labelOffset); result = 37 * result + (int) (temp ^ (temp >>> 32)); return result; }
/** * Returns a hash code for the object. * * @return A hash code. */ @Override public int hashCode() { int result = 193; result = 37 * result + this.text.hashCode(); result = 37 * result + this.font.hashCode(); result = 37 * result + HashUtilities.hashCodeForPaint(this.paint); long temp = Double.doubleToLongBits(this.x); result = 37 * result + (int) (temp ^ (temp >>> 32)); temp = Double.doubleToLongBits(this.y); result = 37 * result + (int) (temp ^ (temp >>> 32)); result = 37 * result + this.textAnchor.hashCode(); result = 37 * result + this.rotationAnchor.hashCode(); temp = Double.doubleToLongBits(this.rotationAngle); result = 37 * result + (int) (temp ^ (temp >>> 32)); return result; }
/** * Returns a hash code for this instance. * * @return A hash code. */ @Override public int hashCode() { int hash = 37; hash = HashUtilities.hashCode(hash, this.g1); hash = HashUtilities.hashCode(hash, this.g2); hash = HashUtilities.hashCode(hash, this.g3); return hash; }
/** * Returns a hash code for this instance. * * @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; }
/** * Returns a hash code for this instance. * * @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; }
/** * Returns a hash code for this instance. * * @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; }
/** * Returns a hash code for this instance. * * @return The hash code. */ public int hashCode() { int result = 193; result = 37 * result + HashUtilities.hashCodeForPaint(paint); result = 37 * result + this.gradientPaintTransformer.hashCode(); return result; }
/** * Returns a hash code for this instance. * * @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; }
/** * Some sanity checks for the hashCodeForDoubleArray() method. */ public void testHashCodeForDoubleArray() { double[] a1 = new double[] { 1.0 }; double[] a2 = new double[] { 1.0 }; int h1 = HashUtilities.hashCodeForDoubleArray(a1); int h2 = HashUtilities.hashCodeForDoubleArray(a2); assertTrue(h1 == h2); double[] a3 = new double[] { 0.5, 1.0 }; int h3 = HashUtilities.hashCodeForDoubleArray(a3); assertFalse(h1 == h3); }
/** * Returns a hash code for this instance. * * @return A hash code. */ public int hashCode() { int result = 193; result = 37 * result + this.font.hashCode(); result = 37 * result + HashUtilities.hashCodeForPaint(this.paint); result = 37 * result + this.rotationAnchor.hashCode(); long temp = Double.doubleToLongBits(this.rotationAngle); result = 37 * result + (int) (temp ^ (temp >>> 32)); result = 37 * result + this.text.hashCode(); result = 37 * result + this.textAnchor.hashCode(); return result; }
/** * Returns a hash code for this instance. * * @return A hash code. */ 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; }
/** * Returns a hash code for this instance. * * @return A hash code. */ public int hashCode() { int result = 193; result = 37 * result + this.category1.hashCode(); long temp = Double.doubleToLongBits(this.value1); result = 37 * result + (int) (temp ^ (temp >>> 32)); result = 37 * result + this.category2.hashCode(); temp = Double.doubleToLongBits(this.value2); result = 37 * result + (int) (temp ^ (temp >>> 32)); result = 37 * result + HashUtilities.hashCodeForPaint(this.paint); result = 37 * result + this.stroke.hashCode(); return result; }
/** * Returns a hash code for this instance. * * @return A hash code. */ public int hashCode() { int result = 193; result = 37 * result + this.shape.hashCode(); if (this.stroke != null) { result = 37 * result + this.stroke.hashCode(); } result = 37 * result + HashUtilities.hashCodeForPaint( this.outlinePaint); result = 37 * result + HashUtilities.hashCodeForPaint(this.fillPaint); return result; }
/** * Returns a hash code for this instance. * * @return A hash code. */ @Override public int hashCode() { int result = 39; result = HashUtilities.hashCode(result, getToolTipText()); result = HashUtilities.hashCode(result, getURLText()); return result; }
/** * Returns a hash code for this instance. * * @return A hash code. */ @Override public int hashCode() { int result = super.hashCode(); result = HashUtilities.hashCode(result, this.pieIndex); result = HashUtilities.hashCode(result, this.sectionIndex); return result; }
/** * Returns a hash code for this instance. * * @return A hash code. */ @Override public int hashCode() { int result = super.hashCode(); result = HashUtilities.hashCode(result, this.key); return result; }
/** * Returns a hash code for this instance. * * @return A hash code. */ @Override public int hashCode() { int result = 127; result = HashUtilities.hashCode(result, this.formatPattern); result = HashUtilities.hashCode(result, this.additionalFormatPattern); result = HashUtilities.hashCode(result, this.seriesLabelLists); return result; }
/** * Returns a hash code for this instance. * * @return A hash code. */ @Override public int hashCode() { int result = 41; result = HashUtilities.hashCode(result, getToolTipText()); result = HashUtilities.hashCode(result, getURLText()); return result; }
/** * Returns a hash code for this instance. * * @return A hash code. */ @Override public int hashCode() { int result = 37; result = HashUtilities.hashCode(result, this.toolTipText); result = HashUtilities.hashCode(result, this.urlText); return result; }
/** * Returns a hash code for this instance. * * @return A hash code. */ @Override public int hashCode() { int hash = 7; hash = HashUtilities.hashCode(hash, this.lowerBound); hash = HashUtilities.hashCode(hash, this.upperBound); hash = 43 * hash + this.alpha; return hash; }
/** * Returns a hashcode for the renderer. * * @return The hashcode. */ @Override public int hashCode() { int result = 193; result = HashUtilities.hashCode(result, this.seriesVisibleList); result = HashUtilities.hashCode(result, this.baseSeriesVisible); result = HashUtilities.hashCode(result, this.seriesVisibleInLegendList); result = HashUtilities.hashCode(result, this.baseSeriesVisibleInLegend); result = HashUtilities.hashCode(result, this.paintList); result = HashUtilities.hashCode(result, this.basePaint); result = HashUtilities.hashCode(result, this.fillPaintList); result = HashUtilities.hashCode(result, this.baseFillPaint); result = HashUtilities.hashCode(result, this.outlinePaintList); result = HashUtilities.hashCode(result, this.baseOutlinePaint); result = HashUtilities.hashCode(result, this.strokeList); result = HashUtilities.hashCode(result, this.baseStroke); result = HashUtilities.hashCode(result, this.outlineStrokeList); result = HashUtilities.hashCode(result, this.baseOutlineStroke); // shapeList // baseShape result = HashUtilities.hashCode(result, this.itemLabelsVisibleList); result = HashUtilities.hashCode(result, this.baseItemLabelsVisible); // itemLabelFontList // baseItemLabelFont // itemLabelPaintList // baseItemLabelPaint // positiveItemLabelPositionList // basePositiveItemLabelPosition // negativeItemLabelPositionList // baseNegativeItemLabelPosition // itemLabelAnchorOffset // createEntityList // baseCreateEntities return result; }
/** * Returns a hash code for this instance. * * @return A hash code. */ @Override public int hashCode() { int result = super.hashCode(); result = HashUtilities.hashCode(result, this.plotArea); result = HashUtilities.hashCode(result, this.plotLines); result = HashUtilities.hashCode(result, this.plotShapes); result = HashUtilities.hashCode(result, this.useFillPaint); return result; }
/** * Returns a hash code for this instance. * * @return A hash code. */ @Override public int hashCode() { int hash = super.hashCode(); hash = HashUtilities.hashCode(hash, this.renderAsPercentages); hash = HashUtilities.hashCode(hash, this.ignoreZeroValues); return hash; }