@Test public void testHashCode() { HighLowItemLabelGenerator g1 = new HighLowItemLabelGenerator(); HighLowItemLabelGenerator g2 = new HighLowItemLabelGenerator(); assertEquals(g1, g2); assertEquals(g1.hashCode(), g2.hashCode()); }
@Override public int hashCode() { int result = 127; result = HashUtilities.hashCode(result, this.dateFormatter); result = HashUtilities.hashCode(result, this.numberFormatter); return result; }
HighLowItemLabelGenerator implements XYItemLabelGenerator,
        XYToolTipGenerator, Cloneable, PublicCloneable, Serializable { @Override public int hashCode() { int result = 127; result = HashUtilities.hashCode(result, this.dateFormatter); result = HashUtilities.hashCode(result, this.numberFormatter); return result; } }
HighLowItemLabelGenerator implements XYItemLabelGenerator,
        XYToolTipGenerator, Cloneable, PublicCloneable, Serializable { @Override public int hashCode() { int result = 127; result = HashUtilities.hashCode(result, this.dateFormatter); result = HashUtilities.hashCode(result, this.numberFormatter); return result; } HighLowItemLabelGenerator();  HighLowItemLabelGenerator(DateFormat dateFormatter,
                                     NumberFormat numberFormatter); }
HighLowItemLabelGenerator implements XYItemLabelGenerator,
        XYToolTipGenerator, Cloneable, PublicCloneable, Serializable { @Override public int hashCode() { int result = 127; result = HashUtilities.hashCode(result, this.dateFormatter); result = HashUtilities.hashCode(result, this.numberFormatter); return result; } HighLowItemLabelGenerator();  HighLowItemLabelGenerator(DateFormat dateFormatter,
                                     NumberFormat numberFormatter); @Override String generateToolTip(XYDataset dataset, int series, int item); @Override String generateLabel(XYDataset dataset, int series, int category); @Override Object clone(); @Override boolean equals(Object obj); @Override int hashCode(); }
HighLowItemLabelGenerator implements XYItemLabelGenerator,
        XYToolTipGenerator, Cloneable, PublicCloneable, Serializable { @Override public int hashCode() { int result = 127; result = HashUtilities.hashCode(result, this.dateFormatter); result = HashUtilities.hashCode(result, this.numberFormatter); return result; } HighLowItemLabelGenerator();  HighLowItemLabelGenerator(DateFormat dateFormatter,
                                     NumberFormat numberFormatter); @Override String generateToolTip(XYDataset dataset, int series, int item); @Override String generateLabel(XYDataset dataset, int series, int category); @Override Object clone(); @Override boolean equals(Object obj); @Override int hashCode();  }