/*(non-Javadoc) @see Mono.Lucene.Net.Search.Function.FieldCacheSource#cachedFieldSourceEquals(Mono.Lucene.Net.Search.Function.FieldCacheSource) */ public override bool CachedFieldSourceEquals(FieldCacheSource o) { if (o.GetType() != typeof(IntFieldSource)) { return(false); } IntFieldSource other = (IntFieldSource)o; return(this.parser == null?other.parser == null:this.parser.GetType() == other.parser.GetType()); }
/*(non-Javadoc) @see java.lang.Object#equals(java.lang.Object) */ public override bool Equals(System.Object o) { if (!(o is FieldCacheSource)) { return(false); } FieldCacheSource other = (FieldCacheSource)o; return(this.field.Equals(other.field) && CachedFieldSourceEquals(other)); }
/*(non-Javadoc) @see Mono.Lucene.Net.Search.Function.FieldCacheSource#cachedFieldSourceEquals(Mono.Lucene.Net.Search.Function.FieldCacheSource) */ public override bool CachedFieldSourceEquals(FieldCacheSource o) { if (o.GetType() != typeof(ShortFieldSource)) { return false; } ShortFieldSource other = (ShortFieldSource) o; return this.parser == null?other.parser == null:this.parser.GetType() == other.parser.GetType(); }
/// <summary> Check if equals to another {@link FieldCacheSource}, already knowing that cache and field are equal. </summary> /// <seealso cref="Object.equals(java.lang.Object)"> /// </seealso> public abstract bool CachedFieldSourceEquals(FieldCacheSource other);