public override void Copy(MutableValue source) { MutableValueInt64 s = (MutableValueInt64)source; Exists = s.Exists; Value = s.Value; }
public override MutableValue Duplicate() { MutableValueInt64 v = new MutableValueInt64(); v.Value = this.Value; v.Exists = this.Exists; return(v); }
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); }
public ValueFillerAnonymousInnerClassHelper(Int64DocValues outerInstance) { this.outerInstance = outerInstance; mval = new MutableValueInt64(); }