@Test public void emptyAlternativesHasCustomToStringRepresentation() throws Exception { assertThat(empty().toString(),equalTo("ImmutableAlternatives{entries=[]}")); }
@Override public String toString() { return MoreObjects. toStringHelper(getClass()). add("entries",this.entries). toString(); }
ImmutableAlternatives implements Alternatives { @Override public String toString() { return MoreObjects. toStringHelper(getClass()). add("entries",this.entries). toString(); } }
ImmutableAlternatives implements Alternatives { @Override public String toString() { return MoreObjects. toStringHelper(getClass()). add("entries",this.entries). toString(); } private  ImmutableAlternatives(final ImmutableList<Entry> entries); }
ImmutableAlternatives implements Alternatives { @Override public String toString() { return MoreObjects. toStringHelper(getClass()). add("entries",this.entries). toString(); } private  ImmutableAlternatives(final ImmutableList<Entry> entries); @Override Iterator<Alternative> iterator(); @Override int size(); @Override boolean isEmpty(); @Override ImmutableAlternative alternative(int i); @Override ImmutableQuality quality(int i); @Override String toString(); }
ImmutableAlternatives implements Alternatives { @Override public String toString() { return MoreObjects. toStringHelper(getClass()). add("entries",this.entries). toString(); } private  ImmutableAlternatives(final ImmutableList<Entry> entries); @Override Iterator<Alternative> iterator(); @Override int size(); @Override boolean isEmpty(); @Override ImmutableAlternative alternative(int i); @Override ImmutableQuality quality(int i); @Override String toString();  }