@Test public void qualitiesWithDifferentWeightHaveDifferentHashCode() { assertThat(VALUE.hashCode(),not(equalTo(VALUE_SMALLER_WEIGHT.hashCode()))); }
@Override public int hashCode() { return Objects.hash(this.type,this.weight); }
ImmutableQuality implements Quality { @Override public int hashCode() { return Objects.hash(this.type,this.weight); } }
ImmutableQuality implements Quality { @Override public int hashCode() { return Objects.hash(this.type,this.weight); } private  ImmutableQuality(double value, Type type); }
ImmutableQuality implements Quality { @Override public int hashCode() { return Objects.hash(this.type,this.weight); } private  ImmutableQuality(double value, Type type); @Override Type type(); @Override double weight(); @Override int compareTo(Quality that); @Override int hashCode(); @Override boolean equals(final Object obj); @Override String toString(); }
ImmutableQuality implements Quality { @Override public int hashCode() { return Objects.hash(this.type,this.weight); } private  ImmutableQuality(double value, Type type); @Override Type type(); @Override double weight(); @Override int compareTo(Quality that); @Override int hashCode(); @Override boolean equals(final Object obj); @Override String toString();  }