@Test public void differentLanguagesHaveDifferentHashCode() { assertThat(simpleLanguage().hashCode(),not(equalTo(compositeLanguage().hashCode()))); }
@Override public int hashCode() { return Objects.hashCode(this.locale); }
ImmutableLanguage implements Language { @Override public int hashCode() { return Objects.hashCode(this.locale); } }
ImmutableLanguage implements Language { @Override public int hashCode() { return Objects.hashCode(this.locale); } ImmutableLanguage(Locale locale); }
ImmutableLanguage implements Language { @Override public int hashCode() { return Objects.hashCode(this.locale); } ImmutableLanguage(Locale locale); @Override boolean isWildcard(); @Override String primaryTag(); @Override String subTag(); @Override Locale locale(); @Override String toHeader(); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString(); }
ImmutableLanguage implements Language { @Override public int hashCode() { return Objects.hashCode(this.locale); } ImmutableLanguage(Locale locale); @Override boolean isWildcard(); @Override String primaryTag(); @Override String subTag(); @Override Locale locale(); @Override String toHeader(); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString();  }