Ejemplo n.º 1
0
        public override bool Equals(object obj)
        {
            if (this == obj)
            {
                return(true);
            }
            if (obj == null)
            {
                return(false);
            }
            if (this.GetType() != obj.GetType())
            {
                return(false);
            }
            FieldValueFilter other = (FieldValueFilter)obj;

            if (field == 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);
        }
Ejemplo n.º 2
0
        public override bool Equals(object obj)
        {
            if (this == obj)
            {
                return(true);
            }
            if (obj == null)
            {
                return(false);
            }
            if (this.GetType() != obj.GetType())
            {
                return(false);
            }
            FieldValueFilter other = (FieldValueFilter)obj;

            if (Field_Renamed == null)
            {
                if (other.Field_Renamed != null)
                {
                    return(false);
                }
            }
            else if (!Field_Renamed.Equals(other.Field_Renamed))
            {
                return(false);
            }
            if (Negate_Renamed != other.Negate_Renamed)
            {
                return(false);
            }
            return(true);
        }
Ejemplo n.º 3
0
 public FieldCacheDocIdSetAnonymousInnerClassHelper2(FieldValueFilter outerInstance, int maxDoc, Bits acceptDocs, Bits docsWithField)
     : base(maxDoc, acceptDocs)
 {
     this.OuterInstance = outerInstance;
     this.DocsWithField = docsWithField;
 }
Ejemplo n.º 4
0
 public FieldCacheDocIdSetAnonymousInnerClassHelper2(FieldValueFilter outerInstance, int maxDoc, IBits acceptDocs, IBits docsWithField)
     : base(maxDoc, acceptDocs)
 {
     this.outerInstance = outerInstance;
     this.docsWithField = docsWithField;
 }