### Question:
StandardCategoryItemLabelGenerator extends AbstractCategoryItemLabelGenerator implements CategoryItemLabelGenerator, Cloneable, PublicCloneable,
               Serializable { @Override public boolean equals(Object obj) { if (obj == this) { return true; } if (!(obj instanceof StandardCategoryItemLabelGenerator)) { return false; } return super.equals(obj); } StandardCategoryItemLabelGenerator();  StandardCategoryItemLabelGenerator(String labelFormat,
                                              NumberFormat formatter);  StandardCategoryItemLabelGenerator(String labelFormat,
            NumberFormat formatter, NumberFormat percentFormatter);  StandardCategoryItemLabelGenerator(String labelFormat,
                                              DateFormat formatter); @Override String generateLabel(CategoryDataset dataset, int row, int column); @Override boolean equals(Object obj); static final String DEFAULT_LABEL_FORMAT_STRING; }### Answer:
@Test public void testEquals() { StandardCategoryItemLabelGenerator g1 = new StandardCategoryItemLabelGenerator(); StandardCategoryItemLabelGenerator g2 = new StandardCategoryItemLabelGenerator(); assertEquals(g1, g2); assertEquals(g2, g1); g1 = new StandardCategoryItemLabelGenerator("{0}", new DecimalFormat("0.000")); assertFalse(g1.equals(g2)); g2 = new StandardCategoryItemLabelGenerator("{0}", new DecimalFormat("0.000")); assertEquals(g1, g2); g1 = new StandardCategoryItemLabelGenerator("{1}", new DecimalFormat("0.000")); assertFalse(g1.equals(g2)); g2 = new StandardCategoryItemLabelGenerator("{1}", new DecimalFormat("0.000")); assertEquals(g1, g2); g1 = new StandardCategoryItemLabelGenerator("{2}", new SimpleDateFormat("d-MMM")); assertFalse(g1.equals(g2)); g2 = new StandardCategoryItemLabelGenerator("{2}", new SimpleDateFormat("d-MMM")); assertEquals(g1, g2); }
@Test public void testEquals1481087() { StandardCategoryItemLabelGenerator g1 = new StandardCategoryItemLabelGenerator("{0}", new DecimalFormat("0.00")); StandardCategoryToolTipGenerator g2 = new StandardCategoryToolTipGenerator("{0}", new DecimalFormat("0.00")); assertFalse(g1.equals(g2)); }