/** * This instance is equal to all instances of {@code SMFAttributeName} 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 SMFAttributeName && equalTo((SMFAttributeName) another); }
/** * This instance is equal to all instances of {@code SMFAttributeName} 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 SMFAttributeName && equalTo((SMFAttributeName) another); }