@Test void testToString() { assertEquals("ConsistentHash [member1(2),member2(2),member3(2)]", testSubject.toString()); }
@Override public String toString() { String join = this.members.values().stream() .map(ConsistentHashMember::toString) .collect(Collectors.joining(",")); return "ConsistentHash ["+join+"]"; }
ConsistentHash { @Override public String toString() { String join = this.members.values().stream() .map(ConsistentHashMember::toString) .collect(Collectors.joining(",")); return "ConsistentHash ["+join+"]"; } }
ConsistentHash { @Override public String toString() { String join = this.members.values().stream() .map(ConsistentHashMember::toString) .collect(Collectors.joining(",")); return "ConsistentHash ["+join+"]"; } ConsistentHash();  ConsistentHash(Function<String, String> hashFunction); private  ConsistentHash(Map<String, ConsistentHashMember> members,
                           Function<String, String> hashFunction, int modCount); }
ConsistentHash { @Override public String toString() { String join = this.members.values().stream() .map(ConsistentHashMember::toString) .collect(Collectors.joining(",")); return "ConsistentHash ["+join+"]"; } ConsistentHash();  ConsistentHash(Function<String, String> hashFunction); private  ConsistentHash(Map<String, ConsistentHashMember> members,
                           Function<String, String> hashFunction, int modCount); Collection<ConsistentHashMember> getEligibleMembers(String routingKey); Optional<Member> getMember(String routingKey, CommandMessage<?> commandMessage); Set<Member> getMembers(); ConsistentHash with(Member member, int loadFactor, CommandMessageFilter commandFilter); ConsistentHash without(Member member); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); int version(); }
ConsistentHash { @Override public String toString() { String join = this.members.values().stream() .map(ConsistentHashMember::toString) .collect(Collectors.joining(",")); return "ConsistentHash ["+join+"]"; } ConsistentHash();  ConsistentHash(Function<String, String> hashFunction); private  ConsistentHash(Map<String, ConsistentHashMember> members,
                           Function<String, String> hashFunction, int modCount); Collection<ConsistentHashMember> getEligibleMembers(String routingKey); Optional<Member> getMember(String routingKey, CommandMessage<?> commandMessage); Set<Member> getMembers(); ConsistentHash with(Member member, int loadFactor, CommandMessageFilter commandFilter); ConsistentHash without(Member member); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); int version();  }