/** * Checks if this chronology instance equals another. * * @param obj the object to compare to * @return true if equal * @since 2.3 */ public boolean equals(Object obj) { if (this == obj) { return true; } if (obj instanceof IslamicChronology) { IslamicChronology chrono = (IslamicChronology) obj; return getLeapYearPatternType().index == chrono.getLeapYearPatternType().index && super.equals(obj); } return false; }
/** * Checks if this chronology instance equals another. * * @param obj the object to compare to * @return true if equal * @since 2.3 */ public boolean equals(Object obj) { if (this == obj) { return true; } if (obj instanceof IslamicChronology) { IslamicChronology chrono = (IslamicChronology) obj; return getLeapYearPatternType().index == chrono.getLeapYearPatternType().index && super.equals(obj); } return false; }
/** * A suitable hash code for the chronology. * * @return the hash code * @since 1.6 */ public int hashCode() { return super.hashCode() * 13 + getLeapYearPatternType().hashCode(); }
/** * A suitable hash code for the chronology. * * @return the hash code * @since 1.6 */ public int hashCode() { return super.hashCode() * 13 + getLeapYearPatternType().hashCode(); }
/** * A suitable hash code for the chronology. * * @return the hash code * @since 1.6 */ public int hashCode() { return super.hashCode() * 13 + getLeapYearPatternType().hashCode(); }
/** * Checks if this chronology instance equals another. * * @param obj the object to compare to * @return true if equal * @since 2.3 */ public boolean equals(Object obj) { if (this == obj) { return true; } if (obj instanceof IslamicChronology) { IslamicChronology chrono = (IslamicChronology) obj; return getLeapYearPatternType().index == chrono.getLeapYearPatternType().index && super.equals(obj); } return false; }
/** * Checks if this chronology instance equals another. * * @param obj the object to compare to * @return true if equal * @since 2.3 */ public boolean equals(Object obj) { if (this == obj) { return true; } if (obj instanceof IslamicChronology) { IslamicChronology chrono = (IslamicChronology) obj; return getLeapYearPatternType().index == chrono.getLeapYearPatternType().index && super.equals(obj); } return false; }
/** * Checks if this chronology instance equals another. * * @param obj the object to compare to * @return true if equal * @since 2.3 */ public boolean equals(Object obj) { if (this == obj) { return true; } if (obj instanceof IslamicChronology) { IslamicChronology chrono = (IslamicChronology) obj; return getLeapYearPatternType().index == chrono.getLeapYearPatternType().index && super.equals(obj); } return false; }
/** * Checks if this chronology instance equals another. * * @param obj the object to compare to * @return true if equal * @since 2.3 */ public boolean equals(Object obj) { if (this == obj) { return true; } if (obj instanceof IslamicChronology) { IslamicChronology chrono = (IslamicChronology) obj; return getLeapYearPatternType().index == chrono.getLeapYearPatternType().index && super.equals(obj); } return false; }
/** * Checks if this chronology instance equals another. * * @param obj the object to compare to * @return true if equal * @since 2.3 */ public boolean equals(Object obj) { if (this == obj) { return true; } if (obj instanceof IslamicChronology) { IslamicChronology chrono = (IslamicChronology) obj; return getLeapYearPatternType().index == chrono.getLeapYearPatternType().index && super.equals(obj); } return false; }
/** * Checks if this chronology instance equals another. * * @param obj the object to compare to * @return true if equal * @since 2.3 */ public boolean equals(Object obj) { if (this == obj) { return true; } if (obj instanceof IslamicChronology) { IslamicChronology chrono = (IslamicChronology) obj; return getLeapYearPatternType().index == chrono.getLeapYearPatternType().index && super.equals(obj); } return false; }
/** * A suitable hash code for the chronology. * * @return the hash code * @since 1.6 */ public int hashCode() { return super.hashCode() * 13 + getLeapYearPatternType().hashCode(); }
/** * A suitable hash code for the chronology. * * @return the hash code * @since 1.6 */ public int hashCode() { return super.hashCode() * 13 + getLeapYearPatternType().hashCode(); }
/** * A suitable hash code for the chronology. * * @return the hash code * @since 1.6 */ public int hashCode() { return super.hashCode() * 13 + getLeapYearPatternType().hashCode(); }
/** * A suitable hash code for the chronology. * * @return the hash code * @since 1.6 */ public int hashCode() { return super.hashCode() * 13 + getLeapYearPatternType().hashCode(); }
/** * A suitable hash code for the chronology. * * @return the hash code * @since 1.6 */ public int hashCode() { return super.hashCode() * 13 + getLeapYearPatternType().hashCode(); }
/** * A suitable hash code for the chronology. * * @return the hash code * @since 1.6 */ public int hashCode() { return super.hashCode() * 13 + getLeapYearPatternType().hashCode(); }
/** * A suitable hash code for the chronology. * * @return the hash code * @since 1.6 */ public int hashCode() { return super.hashCode() * 13 + getLeapYearPatternType().hashCode(); }
/** * A suitable hash code for the chronology. * * @return the hash code * @since 1.6 */ public int hashCode() { return super.hashCode() * 13 + getLeapYearPatternType().hashCode(); }