Example #1
0
 public override MutableValue Duplicate()
 {
     MutableValueBool v = new MutableValueBool();
     v.Value = this.Value;
     v.Exists = this.Exists;
     return v;
 }
Example #2
0
        public override int CompareSameType(object other)
        {
            MutableValueBool b = (MutableValueBool)other;

            if (Value != b.Value)
            {
                return(Value ? 1 : 0);
            }
            if (Exists == b.Exists)
            {
                return(0);
            }
            return(Exists ? 1 : -1);
        }
Example #3
0
        public override bool EqualsSameType(object other)
        {
            MutableValueBool b = (MutableValueBool)other;

            return(Value == b.Value && Exists == b.Exists);
        }
Example #4
0
 public ValueFillerAnonymousInnerClassHelper(BoolDocValues outerInstance)
 {
     this.outerInstance = outerInstance;
     mval = new MutableValueBool();
 }