public override void Copy(MutableValue source) { MutableValueInt64 s = (MutableValueInt64)source; Exists = s.Exists; Value = s.Value; }
public override int CompareSameType(object other) { MutableValueInt64 b = (MutableValueInt64)other; long bv = b.Value; if (Value < bv) { return(-1); } if (Value > bv) { return(1); } if (Exists == b.Exists) { return(0); } return(Exists ? 1 : -1); }
public override bool EqualsSameType(object other) { MutableValueInt64 b = (MutableValueInt64)other; return(Value == b.Value && Exists == b.Exists); }