@Test public void testEquals() { IndexOptions options1, options2; options1 = IndexOptions.builder() .setKeys(true) .build(); options2 = IndexOptions.builder() .setKeys(true) .build(); assertEquals(options1, options2); }
@Override public boolean equals(Object obj) { if (!(obj instanceof IndexOptions)) { return false; } if (obj == this) { return true; } IndexOptions rhs = (IndexOptions) obj; return rhs.keys == this.keys; }
IndexOptions { @Override public boolean equals(Object obj) { if (!(obj instanceof IndexOptions)) { return false; } if (obj == this) { return true; } IndexOptions rhs = (IndexOptions) obj; return rhs.keys == this.keys; } }
IndexOptions { @Override public boolean equals(Object obj) { if (!(obj instanceof IndexOptions)) { return false; } if (obj == this) { return true; } IndexOptions rhs = (IndexOptions) obj; return rhs.keys == this.keys; } private  IndexOptions(@JsonProperty("keys") final boolean keys,
                         @JsonProperty("trackExistence") Boolean trackExistence); }
IndexOptions { @Override public boolean equals(Object obj) { if (!(obj instanceof IndexOptions)) { return false; } if (obj == this) { return true; } IndexOptions rhs = (IndexOptions) obj; return rhs.keys == this.keys; } 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 boolean equals(Object obj) { if (!(obj instanceof IndexOptions)) { return false; } if (obj == this) { return true; } IndexOptions rhs = (IndexOptions) obj; return rhs.keys == this.keys; } 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();  }