@Test public void testToString() { final SortedSet<OperatingSystemPattern> patterns = new TreeSet<OperatingSystemPattern>(); patterns.add(new OperatingSystemPattern(1, Pattern.compile("1"), 1)); final OperatingSystem os = new OperatingSystem(1, "n1", "f1", "iu1", patterns, "p1", "pu1", "u1", "i1"); assertThat(os.toString()) .isEqualTo( "OperatingSystem [id=1, name=n1, family=f1, infoUrl=iu1, patterns=[OperatingSystemPattern [id=1, pattern=1, position=1]], producer=p1, producerUrl=pu1, url=u1, icon=i1]"); }
@Override public String toString() { final StringBuilder builder = new StringBuilder(); builder.append("OperatingSystem [id="); builder.append(id); builder.append(", name="); builder.append(name); builder.append(", family="); builder.append(family); builder.append(", infoUrl="); builder.append(infoUrl); builder.append(", patterns="); builder.append(patterns); builder.append(", producer="); builder.append(producer); builder.append(", producerUrl="); builder.append(producerUrl); builder.append(", url="); builder.append(url); builder.append(", icon="); builder.append(icon); builder.append("]"); return builder.toString(); }
OperatingSystem implements Identifiable, Serializable { @Override public String toString() { final StringBuilder builder = new StringBuilder(); builder.append("OperatingSystem [id="); builder.append(id); builder.append(", name="); builder.append(name); builder.append(", family="); builder.append(family); builder.append(", infoUrl="); builder.append(infoUrl); builder.append(", patterns="); builder.append(patterns); builder.append(", producer="); builder.append(producer); builder.append(", producerUrl="); builder.append(producerUrl); builder.append(", url="); builder.append(url); builder.append(", icon="); builder.append(icon); builder.append("]"); return builder.toString(); } }
OperatingSystem implements Identifiable, Serializable { @Override public String toString() { final StringBuilder builder = new StringBuilder(); builder.append("OperatingSystem [id="); builder.append(id); builder.append(", name="); builder.append(name); builder.append(", family="); builder.append(family); builder.append(", infoUrl="); builder.append(infoUrl); builder.append(", patterns="); builder.append(patterns); builder.append(", producer="); builder.append(producer); builder.append(", producerUrl="); builder.append(producerUrl); builder.append(", url="); builder.append(url); builder.append(", icon="); builder.append(icon); builder.append("]"); return builder.toString(); } OperatingSystem(@Nonnegative final int id, @Nonnull final String name, @Nonnull final String family,
			@Nonnull final String infoUrl, @Nonnull final SortedSet<OperatingSystemPattern> patterns, @Nonnull final String producer,
			@Nonnull final String producerUrl, @Nonnull final String url, @Nonnull final String icon); }
OperatingSystem implements Identifiable, Serializable { @Override public String toString() { final StringBuilder builder = new StringBuilder(); builder.append("OperatingSystem [id="); builder.append(id); builder.append(", name="); builder.append(name); builder.append(", family="); builder.append(family); builder.append(", infoUrl="); builder.append(infoUrl); builder.append(", patterns="); builder.append(patterns); builder.append(", producer="); builder.append(producer); builder.append(", producerUrl="); builder.append(producerUrl); builder.append(", url="); builder.append(url); builder.append(", icon="); builder.append(icon); builder.append("]"); return builder.toString(); } OperatingSystem(@Nonnegative final int id, @Nonnull final String name, @Nonnull final String family,
			@Nonnull final String infoUrl, @Nonnull final SortedSet<OperatingSystemPattern> patterns, @Nonnull final String producer,
			@Nonnull final String producerUrl, @Nonnull final String url, @Nonnull final String icon); void copyTo(@Nonnull final UserAgent.Builder builder); @Override boolean equals(final Object obj); @Nonnull String getFamily(); @Nonnull String getIcon(); @Override @Nonnegative int getId(); @Nonnull String getInfoUrl(); @Nonnull String getName(); @Nonnull SortedSet<OperatingSystemPattern> getPatterns(); @Nonnull String getProducer(); @Nonnull String getProducerUrl(); @Nonnull String getUrl(); @Override int hashCode(); @Override String toString(); }
OperatingSystem implements Identifiable, Serializable { @Override public String toString() { final StringBuilder builder = new StringBuilder(); builder.append("OperatingSystem [id="); builder.append(id); builder.append(", name="); builder.append(name); builder.append(", family="); builder.append(family); builder.append(", infoUrl="); builder.append(infoUrl); builder.append(", patterns="); builder.append(patterns); builder.append(", producer="); builder.append(producer); builder.append(", producerUrl="); builder.append(producerUrl); builder.append(", url="); builder.append(url); builder.append(", icon="); builder.append(icon); builder.append("]"); return builder.toString(); } OperatingSystem(@Nonnegative final int id, @Nonnull final String name, @Nonnull final String family,
			@Nonnull final String infoUrl, @Nonnull final SortedSet<OperatingSystemPattern> patterns, @Nonnull final String producer,
			@Nonnull final String producerUrl, @Nonnull final String url, @Nonnull final String icon); void copyTo(@Nonnull final UserAgent.Builder builder); @Override boolean equals(final Object obj); @Nonnull String getFamily(); @Nonnull String getIcon(); @Override @Nonnegative int getId(); @Nonnull String getInfoUrl(); @Nonnull String getName(); @Nonnull SortedSet<OperatingSystemPattern> getPatterns(); @Nonnull String getProducer(); @Nonnull String getProducerUrl(); @Nonnull String getUrl(); @Override int hashCode(); @Override String toString();  }