示例#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();
 }
示例#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());
        }