Exemplo n.º 1
0
 /*(non-Javadoc) <see cref="Lucene.Net.Search.Function.FieldCacheSource.cachedFieldSourceEquals(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();
 }
Exemplo n.º 2
0
        /*(non-Javadoc) @see Lucene.Net.Search.Function.FieldCacheSource#cachedFieldSourceEquals(Lucene.Net.Search.Function.FieldCacheSource) */
        public override bool CachedFieldSourceEquals(FieldCacheSource o)
        {
            if (o.GetType() != typeof(ByteFieldSource))
            {
                return(false);
            }
            ByteFieldSource other = (ByteFieldSource)o;

            return(this.parser == null?other.parser == null:this.parser.GetType() == other.parser.GetType());
        }
Exemplo n.º 3
0
        /*(non-Javadoc) <see cref="java.lang.Object.equals(java.lang.Object) */
        public override bool Equals(object o)
        {
            if (!(o is FieldCacheSource))
            {
                return(false);
            }
            FieldCacheSource other = (FieldCacheSource)o;

            return(this.field.Equals(other.field) && CachedFieldSourceEquals(other));
        }
Exemplo n.º 4
0
 /// <summary> Check if equals to another <see cref="FieldCacheSource" />, already knowing that cache and field are equal.  </summary>
 /// <seealso cref="object.Equals(object)">
 /// </seealso>
 public abstract bool CachedFieldSourceEquals(FieldCacheSource other);
Exemplo n.º 5
0
			public override bool CachedFieldSourceEquals(FieldCacheSource other)
			{
				throw new System.NotSupportedException(Lucene.Net.Search.Function.JustCompileSearchFunction.UNSUPPORTED_MSG);
			}
Exemplo n.º 6
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);
Exemplo n.º 7
0
 public override bool CachedFieldSourceEquals(FieldCacheSource other)
 {
     throw new System.NotSupportedException(Lucene.Net.Search.Function.JustCompileSearchFunction.UNSUPPORTED_MSG);
 }