@Test public void testCloning() throws CloneNotSupportedException { SymbolicXYItemLabelGenerator g1 = new SymbolicXYItemLabelGenerator(); SymbolicXYItemLabelGenerator g2 = (SymbolicXYItemLabelGenerator) g1.clone(); assertNotSame(g1, g2); assertSame(g1.getClass(), g2.getClass()); assertEquals(g1, g2); }
@Override public Object clone() throws CloneNotSupportedException { return super.clone(); }
SymbolicXYItemLabelGenerator implements XYItemLabelGenerator,
        XYToolTipGenerator, Cloneable, PublicCloneable, Serializable { @Override public Object clone() throws CloneNotSupportedException { return super.clone(); } }
SymbolicXYItemLabelGenerator implements XYItemLabelGenerator,
        XYToolTipGenerator, Cloneable, PublicCloneable, Serializable { @Override public Object clone() throws CloneNotSupportedException { return super.clone(); }  }
SymbolicXYItemLabelGenerator implements XYItemLabelGenerator,
        XYToolTipGenerator, Cloneable, PublicCloneable, Serializable { @Override public Object clone() throws CloneNotSupportedException { return super.clone(); }  @Override String generateToolTip(XYDataset data, int series, int item); @Override String generateLabel(XYDataset dataset, int series, int category); @Override Object clone(); @Override boolean equals(Object obj); @Override int hashCode(); }
SymbolicXYItemLabelGenerator implements XYItemLabelGenerator,
        XYToolTipGenerator, Cloneable, PublicCloneable, Serializable { @Override public Object clone() throws CloneNotSupportedException { return super.clone(); }  @Override String generateToolTip(XYDataset data, int series, int item); @Override String generateLabel(XYDataset dataset, int series, int category); @Override Object clone(); @Override boolean equals(Object obj); @Override int hashCode();  }