@Test public void testToString() { assertNotNull(CommunitySet.empty().toString()); assertThat( CommunitySet.of(StandardCommunity.of(1L)).toString(), allOf(notNullValue(), not(equalTo(CommunitySet.empty().toString())))); }
@Override public @Nonnull String toString() { return toStringHelper(getClass()).add("communities", _communities).toString(); }
CommunitySet implements Serializable { @Override public @Nonnull String toString() { return toStringHelper(getClass()).add("communities", _communities).toString(); } }
CommunitySet implements Serializable { @Override public @Nonnull String toString() { return toStringHelper(getClass()).add("communities", _communities).toString(); } private  CommunitySet(ImmutableSet<Community> communities); }
CommunitySet implements Serializable { @Override public @Nonnull String toString() { return toStringHelper(getClass()).add("communities", _communities).toString(); } private  CommunitySet(ImmutableSet<Community> communities); static @Nonnull CommunitySet empty(); static @Nonnull CommunitySet of(Community... communities); static @Nonnull CommunitySet of(Iterable<? extends Community> communities); static @Nonnull CommunitySet of(Set<? extends Community> communities); @Nonnull Set<Community> getCommunities(); @Nonnull Set<ExtendedCommunity> getExtendedCommunities(); @Nonnull Set<StandardCommunity> getStandardCommunities(); @Override boolean equals(@Nullable Object obj); @Override int hashCode(); @Override @Nonnull String toString(); }
CommunitySet implements Serializable { @Override public @Nonnull String toString() { return toStringHelper(getClass()).add("communities", _communities).toString(); } private  CommunitySet(ImmutableSet<Community> communities); static @Nonnull CommunitySet empty(); static @Nonnull CommunitySet of(Community... communities); static @Nonnull CommunitySet of(Iterable<? extends Community> communities); static @Nonnull CommunitySet of(Set<? extends Community> communities); @Nonnull Set<Community> getCommunities(); @Nonnull Set<ExtendedCommunity> getExtendedCommunities(); @Nonnull Set<StandardCommunity> getStandardCommunities(); @Override boolean equals(@Nullable Object obj); @Override int hashCode(); @Override @Nonnull String toString();  }