public override MutableValue Duplicate() { MutableValueBool v = new MutableValueBool(); v.Value = this.Value; v.Exists = this.Exists; return v; }
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); }
public override bool EqualsSameType(object other) { MutableValueBool b = (MutableValueBool)other; return(Value == b.Value && Exists == b.Exists); }
public ValueFillerAnonymousInnerClassHelper(BoolDocValues outerInstance) { this.outerInstance = outerInstance; mval = new MutableValueBool(); }