@Test public void testHashCode() { IndexOptions options1, options2; options1 = IndexOptions.builder() .setKeys(true) .build(); options2 = IndexOptions.builder() .setKeys(true) .build(); assertEquals(options1.hashCode(), options2.hashCode()); }
@Override public int hashCode() { return new HashCodeBuilder(31, 47) .append(this.keys) .toHashCode(); }
IndexOptions { @Override public int hashCode() { return new HashCodeBuilder(31, 47) .append(this.keys) .toHashCode(); } }
IndexOptions { @Override public int hashCode() { return new HashCodeBuilder(31, 47) .append(this.keys) .toHashCode(); } private  IndexOptions(@JsonProperty("keys") final boolean keys,
                         @JsonProperty("trackExistence") Boolean trackExistence); }
IndexOptions { @Override public int hashCode() { return new HashCodeBuilder(31, 47) .append(this.keys) .toHashCode(); } private  IndexOptions(@JsonProperty("keys") final boolean keys,
                         @JsonProperty("trackExistence") Boolean trackExistence); @SuppressWarnings("WeakerAccess") static IndexOptions withDefaults(); static IndexOptions fromMap(final Map<String, Object> map); static Builder builder(); boolean isKeys(); boolean isTrackExistence(); @Override String toString(); @Override boolean equals(Object obj); @Override int hashCode(); }
IndexOptions { @Override public int hashCode() { return new HashCodeBuilder(31, 47) .append(this.keys) .toHashCode(); } private  IndexOptions(@JsonProperty("keys") final boolean keys,
                         @JsonProperty("trackExistence") Boolean trackExistence); @SuppressWarnings("WeakerAccess") static IndexOptions withDefaults(); static IndexOptions fromMap(final Map<String, Object> map); static Builder builder(); boolean isKeys(); boolean isTrackExistence(); @Override String toString(); @Override boolean equals(Object obj); @Override int hashCode();  }