@Test public void testCloning() throws CloneNotSupportedException { StandardPieSectionLabelGenerator g1 = new StandardPieSectionLabelGenerator(); StandardPieSectionLabelGenerator g2 = (StandardPieSectionLabelGenerator) g1.clone(); assertNotSame(g1, g2); assertSame(g1.getClass(), g2.getClass()); assertEquals(g1, g2); }
@Override public Object clone() throws CloneNotSupportedException { return super.clone(); }
StandardPieSectionLabelGenerator extends AbstractPieItemLabelGenerator implements PieSectionLabelGenerator, Cloneable, PublicCloneable,
                   Serializable { @Override public Object clone() throws CloneNotSupportedException { return super.clone(); } }
StandardPieSectionLabelGenerator extends AbstractPieItemLabelGenerator implements PieSectionLabelGenerator, Cloneable, PublicCloneable,
                   Serializable { @Override public Object clone() throws CloneNotSupportedException { return super.clone(); } StandardPieSectionLabelGenerator();  StandardPieSectionLabelGenerator(Locale locale);  StandardPieSectionLabelGenerator(String labelFormat);  StandardPieSectionLabelGenerator(String labelFormat, Locale locale);  StandardPieSectionLabelGenerator(String labelFormat,
            NumberFormat numberFormat, NumberFormat percentFormat); }
StandardPieSectionLabelGenerator extends AbstractPieItemLabelGenerator implements PieSectionLabelGenerator, Cloneable, PublicCloneable,
                   Serializable { @Override public Object clone() throws CloneNotSupportedException { return super.clone(); } StandardPieSectionLabelGenerator();  StandardPieSectionLabelGenerator(Locale locale);  StandardPieSectionLabelGenerator(String labelFormat);  StandardPieSectionLabelGenerator(String labelFormat, Locale locale);  StandardPieSectionLabelGenerator(String labelFormat,
            NumberFormat numberFormat, NumberFormat percentFormat); AttributedString getAttributedLabel(int section); void setAttributedLabel(int section, AttributedString label); @Override String generateSectionLabel(PieDataset dataset, Comparable key); @Override AttributedString generateAttributedSectionLabel(PieDataset dataset,
                                                           Comparable key); @Override boolean equals(Object obj); @Override Object clone(); }
StandardPieSectionLabelGenerator extends AbstractPieItemLabelGenerator implements PieSectionLabelGenerator, Cloneable, PublicCloneable,
                   Serializable { @Override public Object clone() throws CloneNotSupportedException { return super.clone(); } StandardPieSectionLabelGenerator();  StandardPieSectionLabelGenerator(Locale locale);  StandardPieSectionLabelGenerator(String labelFormat);  StandardPieSectionLabelGenerator(String labelFormat, Locale locale);  StandardPieSectionLabelGenerator(String labelFormat,
            NumberFormat numberFormat, NumberFormat percentFormat); AttributedString getAttributedLabel(int section); void setAttributedLabel(int section, AttributedString label); @Override String generateSectionLabel(PieDataset dataset, Comparable key); @Override AttributedString generateAttributedSectionLabel(PieDataset dataset,
                                                           Comparable key); @Override boolean equals(Object obj); @Override Object clone(); static final String DEFAULT_SECTION_LABEL_FORMAT; }