@Test public void equals_identical() { final Robot a = new Blueprint().build(); final Robot b = new Blueprint().build(); assertThat(b).isEqualTo(a); assertThat(a.hashCode() == b.hashCode()).isTrue(); }
@Override public int hashCode() { return hash; }
Robot implements Identifiable, Serializable { @Override public int hashCode() { return hash; } }
Robot implements Identifiable, Serializable { @Override public int hashCode() { return hash; } Robot(@Nonnegative final int id, @Nonnull final String name, @Nonnull final UserAgentFamily family,
			@Nonnull final String familyName, @Nonnull final String infoUrl, @Nonnull final String producer,
			@Nonnull final String producerUrl, @Nonnull final String userAgentString, @Nonnull final String icon); }
Robot implements Identifiable, Serializable { @Override public int hashCode() { return hash; } Robot(@Nonnegative final int id, @Nonnull final String name, @Nonnull final UserAgentFamily family,
			@Nonnull final String familyName, @Nonnull final String infoUrl, @Nonnull final String producer,
			@Nonnull final String producerUrl, @Nonnull final String userAgentString, @Nonnull final String icon); void copyTo(@Nonnull final UserAgent.Builder builder); @Override boolean equals(final Object obj); @Nonnull UserAgentFamily getFamily(); @Nonnull String getFamilyName(); @Nonnull String getIcon(); @Override @Nonnegative int getId(); @Nonnull String getInfoUrl(); @Nonnull String getName(); @Nonnull String getProducer(); @Nonnull String getProducerUrl(); @Nonnull String getUserAgentString(); @Override int hashCode(); @Override String toString(); }
Robot implements Identifiable, Serializable { @Override public int hashCode() { return hash; } Robot(@Nonnegative final int id, @Nonnull final String name, @Nonnull final UserAgentFamily family,
			@Nonnull final String familyName, @Nonnull final String infoUrl, @Nonnull final String producer,
			@Nonnull final String producerUrl, @Nonnull final String userAgentString, @Nonnull final String icon); void copyTo(@Nonnull final UserAgent.Builder builder); @Override boolean equals(final Object obj); @Nonnull UserAgentFamily getFamily(); @Nonnull String getFamilyName(); @Nonnull String getIcon(); @Override @Nonnegative int getId(); @Nonnull String getInfoUrl(); @Nonnull String getName(); @Nonnull String getProducer(); @Nonnull String getProducerUrl(); @Nonnull String getUserAgentString(); @Override int hashCode(); @Override String toString(); static final String TYPENAME; }