@Test public void testHashCode() { StandardDialScale s1 = new StandardDialScale(); StandardDialScale s2 = new StandardDialScale(); assertEquals(s1, s2); int h1 = s1.hashCode(); int h2 = s2.hashCode(); assertEquals(h1, h2); }
@Override public int hashCode() { int result = 193; long 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.startAngle); result = 37 * result + (int) (temp ^ (temp >>> 32)); temp = Double.doubleToLongBits(this.extent); result = 37 * result + (int) (temp ^ (temp >>> 32)); temp = Double.doubleToLongBits(this.tickRadius); result = 37 * result + (int) (temp ^ (temp >>> 32)); return result; }
StandardDialScale extends AbstractDialLayer implements DialScale,
        Cloneable, PublicCloneable, Serializable { @Override public int hashCode() { int result = 193; long 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.startAngle); result = 37 * result + (int) (temp ^ (temp >>> 32)); temp = Double.doubleToLongBits(this.extent); result = 37 * result + (int) (temp ^ (temp >>> 32)); temp = Double.doubleToLongBits(this.tickRadius); result = 37 * result + (int) (temp ^ (temp >>> 32)); return result; } }
StandardDialScale extends AbstractDialLayer implements DialScale,
        Cloneable, PublicCloneable, Serializable { @Override public int hashCode() { int result = 193; long 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.startAngle); result = 37 * result + (int) (temp ^ (temp >>> 32)); temp = Double.doubleToLongBits(this.extent); result = 37 * result + (int) (temp ^ (temp >>> 32)); temp = Double.doubleToLongBits(this.tickRadius); result = 37 * result + (int) (temp ^ (temp >>> 32)); return result; } StandardDialScale();  StandardDialScale(double lowerBound, double upperBound,
            double startAngle, double extent, double majorTickIncrement,
            int minorTickCount); }
StandardDialScale extends AbstractDialLayer implements DialScale,
        Cloneable, PublicCloneable, Serializable { @Override public int hashCode() { int result = 193; long 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.startAngle); result = 37 * result + (int) (temp ^ (temp >>> 32)); temp = Double.doubleToLongBits(this.extent); result = 37 * result + (int) (temp ^ (temp >>> 32)); temp = Double.doubleToLongBits(this.tickRadius); result = 37 * result + (int) (temp ^ (temp >>> 32)); return result; } StandardDialScale();  StandardDialScale(double lowerBound, double upperBound,
            double startAngle, double extent, double majorTickIncrement,
            int minorTickCount); double getLowerBound(); void setLowerBound(double lower); double getUpperBound(); void setUpperBound(double upper); double getStartAngle(); void setStartAngle(double angle); double getExtent(); void setExtent(double extent); double getTickRadius(); void setTickRadius(double radius); double getMajorTickIncrement(); void setMajorTickIncrement(double increment); double getMajorTickLength(); void setMajorTickLength(double length); Paint getMajorTickPaint(); void setMajorTickPaint(Paint paint); Stroke getMajorTickStroke(); void setMajorTickStroke(Stroke stroke); int getMinorTickCount(); void setMinorTickCount(int count); double getMinorTickLength(); void setMinorTickLength(double length); Paint getMinorTickPaint(); void setMinorTickPaint(Paint paint); Stroke getMinorTickStroke(); void setMinorTickStroke(Stroke stroke); double getTickLabelOffset(); void setTickLabelOffset(double offset); Font getTickLabelFont(); void setTickLabelFont(Font font); Paint getTickLabelPaint(); void setTickLabelPaint(Paint paint); boolean getTickLabelsVisible(); void setTickLabelsVisible(boolean visible); NumberFormat getTickLabelFormatter(); void setTickLabelFormatter(NumberFormat formatter); boolean getFirstTickLabelVisible(); void setFirstTickLabelVisible(boolean visible); @Override boolean isClippedToWindow(); @Override void draw(Graphics2D g2, DialPlot plot, Rectangle2D frame,
            Rectangle2D view); @Override double valueToAngle(double value); @Override double angleToValue(double angle); @Override boolean equals(Object obj); @Override int hashCode(); @Override Object clone(); }
StandardDialScale extends AbstractDialLayer implements DialScale,
        Cloneable, PublicCloneable, Serializable { @Override public int hashCode() { int result = 193; long 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.startAngle); result = 37 * result + (int) (temp ^ (temp >>> 32)); temp = Double.doubleToLongBits(this.extent); result = 37 * result + (int) (temp ^ (temp >>> 32)); temp = Double.doubleToLongBits(this.tickRadius); result = 37 * result + (int) (temp ^ (temp >>> 32)); return result; } StandardDialScale();  StandardDialScale(double lowerBound, double upperBound,
            double startAngle, double extent, double majorTickIncrement,
            int minorTickCount); double getLowerBound(); void setLowerBound(double lower); double getUpperBound(); void setUpperBound(double upper); double getStartAngle(); void setStartAngle(double angle); double getExtent(); void setExtent(double extent); double getTickRadius(); void setTickRadius(double radius); double getMajorTickIncrement(); void setMajorTickIncrement(double increment); double getMajorTickLength(); void setMajorTickLength(double length); Paint getMajorTickPaint(); void setMajorTickPaint(Paint paint); Stroke getMajorTickStroke(); void setMajorTickStroke(Stroke stroke); int getMinorTickCount(); void setMinorTickCount(int count); double getMinorTickLength(); void setMinorTickLength(double length); Paint getMinorTickPaint(); void setMinorTickPaint(Paint paint); Stroke getMinorTickStroke(); void setMinorTickStroke(Stroke stroke); double getTickLabelOffset(); void setTickLabelOffset(double offset); Font getTickLabelFont(); void setTickLabelFont(Font font); Paint getTickLabelPaint(); void setTickLabelPaint(Paint paint); boolean getTickLabelsVisible(); void setTickLabelsVisible(boolean visible); NumberFormat getTickLabelFormatter(); void setTickLabelFormatter(NumberFormat formatter); boolean getFirstTickLabelVisible(); void setFirstTickLabelVisible(boolean visible); @Override boolean isClippedToWindow(); @Override void draw(Graphics2D g2, DialPlot plot, Rectangle2D frame,
            Rectangle2D view); @Override double valueToAngle(double value); @Override double angleToValue(double angle); @Override boolean equals(Object obj); @Override int hashCode(); @Override Object clone();  }