public override bool Equals(object obj) { if (this == obj) { return(true); } if (obj is null) { return(false); } if (this.GetType() != obj.GetType()) { return(false); } FieldValueFilter other = (FieldValueFilter)obj; if (field is null) { if (other.field != null) { return(false); } } else if (!field.Equals(other.field, StringComparison.Ordinal)) { return(false); } if (negate != other.negate) { return(false); } return(true); }
public FieldCacheDocIdSetAnonymousInnerClassHelper2(FieldValueFilter outerInstance, int maxDoc, IBits acceptDocs, IBits docsWithField) : base(maxDoc, acceptDocs) { this.outerInstance = outerInstance; this.docsWithField = docsWithField; }