@Test public void testHashCode() { PeriodAxisLabelInfo info1 = new PeriodAxisLabelInfo(Day.class, new SimpleDateFormat("d")); PeriodAxisLabelInfo info2 = new PeriodAxisLabelInfo(Day.class, new SimpleDateFormat("d")); assertEquals(info1, info2); int h1 = info1.hashCode(); int h2 = info2.hashCode(); assertEquals(h1, h2); }
@Override public int hashCode() { int result = 41; result += 37 * this.periodClass.hashCode(); result += 37 * this.dateFormat.hashCode(); return result; }
PeriodAxisLabelInfo implements Serializable { @Override public int hashCode() { int result = 41; result += 37 * this.periodClass.hashCode(); result += 37 * this.dateFormat.hashCode(); return result; } }
PeriodAxisLabelInfo implements Serializable { @Override public int hashCode() { int result = 41; result += 37 * this.periodClass.hashCode(); result += 37 * this.dateFormat.hashCode(); return result; } PeriodAxisLabelInfo(Class<? extends RegularTimePeriod> periodClass, 
            DateFormat dateFormat);  PeriodAxisLabelInfo(Class<? extends RegularTimePeriod> periodClass, 
            DateFormat dateFormat, RectangleInsets padding, Font labelFont, 
            Paint labelPaint, boolean drawDividers, Stroke dividerStroke,
            Paint dividerPaint); }
PeriodAxisLabelInfo implements Serializable { @Override public int hashCode() { int result = 41; result += 37 * this.periodClass.hashCode(); result += 37 * this.dateFormat.hashCode(); return result; } PeriodAxisLabelInfo(Class<? extends RegularTimePeriod> periodClass, 
            DateFormat dateFormat);  PeriodAxisLabelInfo(Class<? extends RegularTimePeriod> periodClass, 
            DateFormat dateFormat, RectangleInsets padding, Font labelFont, 
            Paint labelPaint, boolean drawDividers, Stroke dividerStroke,
            Paint dividerPaint); Class getPeriodClass(); DateFormat getDateFormat(); RectangleInsets getPadding(); Font getLabelFont(); Paint getLabelPaint(); boolean getDrawDividers(); Stroke getDividerStroke(); Paint getDividerPaint(); RegularTimePeriod createInstance(Date millisecond, TimeZone zone,
            Locale locale); @Override boolean equals(Object obj); @Override int hashCode(); }
PeriodAxisLabelInfo implements Serializable { @Override public int hashCode() { int result = 41; result += 37 * this.periodClass.hashCode(); result += 37 * this.dateFormat.hashCode(); return result; } PeriodAxisLabelInfo(Class<? extends RegularTimePeriod> periodClass, 
            DateFormat dateFormat);  PeriodAxisLabelInfo(Class<? extends RegularTimePeriod> periodClass, 
            DateFormat dateFormat, RectangleInsets padding, Font labelFont, 
            Paint labelPaint, boolean drawDividers, Stroke dividerStroke,
            Paint dividerPaint); Class getPeriodClass(); DateFormat getDateFormat(); RectangleInsets getPadding(); Font getLabelFont(); Paint getLabelPaint(); boolean getDrawDividers(); Stroke getDividerStroke(); Paint getDividerPaint(); RegularTimePeriod createInstance(Date millisecond, TimeZone zone,
            Locale locale); @Override boolean equals(Object obj); @Override int hashCode(); static final RectangleInsets DEFAULT_INSETS; static final Font DEFAULT_FONT; static final Paint DEFAULT_LABEL_PAINT; static final Stroke DEFAULT_DIVIDER_STROKE; static final Paint DEFAULT_DIVIDER_PAINT; }