Java 类org.jfree.chart.axis.MonthDateFormat 实例源码

项目:parabuild-ci    文件:MonthDateFormatTests.java   
/**
 * Two objects that are equal are required to return the same hashCode. 
 */
public void testHashCode() {
    MonthDateFormat mf1 = new MonthDateFormat();
    MonthDateFormat mf2 = new MonthDateFormat();
    assertTrue(mf1.equals(mf2));
    int h1 = mf1.hashCode();
    int h2 = mf2.hashCode();
    assertEquals(h1, h2);
}
项目:nabs    文件:MonthDateFormatTests.java   
/**
 * Two objects that are equal are required to return the same hashCode. 
 */
public void testHashCode() {
    MonthDateFormat mf1 = new MonthDateFormat();
    MonthDateFormat mf2 = new MonthDateFormat();
    assertTrue(mf1.equals(mf2));
    int h1 = mf1.hashCode();
    int h2 = mf2.hashCode();
    assertEquals(h1, h2);
}
项目:astor    文件:MonthDateFormatTests.java   
/**
 * Two objects that are equal are required to return the same hashCode.
 */
public void testHashCode() {
    MonthDateFormat mf1 = new MonthDateFormat();
    MonthDateFormat mf2 = new MonthDateFormat();
    assertTrue(mf1.equals(mf2));
    int h1 = mf1.hashCode();
    int h2 = mf2.hashCode();
    assertEquals(h1, h2);
}