@Test public void equals_identical() { final Browser a = new Blueprint().build(); final Browser b = new Blueprint().build(); assertThat(b).isEqualTo(a); assertThat(a.hashCode() == b.hashCode()).isTrue(); }
@Override public int hashCode() { return hash; }
Browser implements Identifiable, Serializable { @Override public int hashCode() { return hash; } }
Browser implements Identifiable, Serializable { @Override public int hashCode() { return hash; } Browser(@Nonnegative final int id, @Nonnull final UserAgentFamily family, @Nonnull final String familyName,
			@Nonnull final SortedSet<BrowserPattern> patterns, @Nonnull final BrowserType type,
			@Nonnull final OperatingSystem operatingSystem, @Nonnull final String icon, @Nonnull final String infoUrl,
			@Nonnull final String producer, @Nonnull final String producerUrl, @Nonnull final String url); }
Browser implements Identifiable, Serializable { @Override public int hashCode() { return hash; } Browser(@Nonnegative final int id, @Nonnull final UserAgentFamily family, @Nonnull final String familyName,
			@Nonnull final SortedSet<BrowserPattern> patterns, @Nonnull final BrowserType type,
			@Nonnull final OperatingSystem operatingSystem, @Nonnull final String icon, @Nonnull final String infoUrl,
			@Nonnull final String producer, @Nonnull final String producerUrl, @Nonnull final String url); 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(); @Nullable OperatingSystem getOperatingSystem(); @Nonnull SortedSet<BrowserPattern> getPatterns(); @Nonnull String getProducer(); @Nonnull String getProducerUrl(); @Nonnull BrowserType getType(); @Nonnull String getUrl(); @Override int hashCode(); @Override String toString(); }
Browser implements Identifiable, Serializable { @Override public int hashCode() { return hash; } Browser(@Nonnegative final int id, @Nonnull final UserAgentFamily family, @Nonnull final String familyName,
			@Nonnull final SortedSet<BrowserPattern> patterns, @Nonnull final BrowserType type,
			@Nonnull final OperatingSystem operatingSystem, @Nonnull final String icon, @Nonnull final String infoUrl,
			@Nonnull final String producer, @Nonnull final String producerUrl, @Nonnull final String url); 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(); @Nullable OperatingSystem getOperatingSystem(); @Nonnull SortedSet<BrowserPattern> getPatterns(); @Nonnull String getProducer(); @Nonnull String getProducerUrl(); @Nonnull BrowserType getType(); @Nonnull String getUrl(); @Override int hashCode(); @Override String toString();  }