Ejemplo n.º 1
0
        /*(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());
        }
Ejemplo n.º 2
0
        /*(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));
        }
Ejemplo n.º 3
0
		/*(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();
		}
Ejemplo n.º 4
0
 /// <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);
Ejemplo n.º 5
0
		/// <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);