Java 类org.jfree.chart.labels.MultipleXYSeriesLabelGenerator 实例源码

项目:astor    文件:MultipleXYSeriesLabelGeneratorTests.java   
/**
 * Simple check that hashCode is implemented.
 */
public void testHashCode() {
    MultipleXYSeriesLabelGenerator g1
            = new MultipleXYSeriesLabelGenerator();
    MultipleXYSeriesLabelGenerator g2
            = new MultipleXYSeriesLabelGenerator();
    assertTrue(g1.equals(g2));
    assertTrue(g1.hashCode() == g2.hashCode());
}
项目:astor    文件:MultipleXYSeriesLabelGeneratorTests.java   
/**
 * Check to ensure that this class implements PublicCloneable.
 */
public void testPublicCloneable() {
    MultipleXYSeriesLabelGenerator g1
            = new MultipleXYSeriesLabelGenerator();
    assertTrue(g1 instanceof PublicCloneable);
}