### Question:
StandardXYSeriesLabelGenerator implements XYSeriesLabelGenerator,
        Cloneable, PublicCloneable, Serializable { @Override public int hashCode() { int result = 127; result = HashUtilities.hashCode(result, this.formatPattern); return result; } StandardXYSeriesLabelGenerator();  StandardXYSeriesLabelGenerator(String format); @Override String generateLabel(XYDataset dataset, int series); @Override Object clone(); @Override boolean equals(Object obj); @Override int hashCode(); static final String DEFAULT_LABEL_FORMAT; }### Answer:
@Test public void testHashCode() { StandardXYSeriesLabelGenerator g1 = new StandardXYSeriesLabelGenerator(); StandardXYSeriesLabelGenerator g2 = new StandardXYSeriesLabelGenerator(); assertEquals(g1, g2); assertEquals(g1.hashCode(), g2.hashCode()); }