/** * This instance is equal to all instances of {@code RangeInclusiveB} that have equal attribute values. * @return {@code true} if {@code this} is equal to {@code another} instance */ @Override public boolean equals(Object another) { if (this == another) return true; return another instanceof RangeInclusiveB && equalTo((RangeInclusiveB) another); }