public override MutableValue Duplicate() { MutableValueLong v = new MutableValueLong(); v.Value = this.Value; v.Exists = this.Exists; return v; }
public override void Copy(MutableValue source) { MutableValueLong s = (MutableValueLong)source; Exists = s.Exists; Value = s.Value; }
public override MutableValue Duplicate() { MutableValueLong v = new MutableValueLong(); v.Value = this.Value; v.Exists = this.Exists; return(v); }
public override int CompareSameType(object other) { MutableValueLong b = (MutableValueLong)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) { MutableValueLong b = (MutableValueLong)other; return(Value == b.Value && Exists == b.Exists); }
public ValueFillerAnonymousInnerClassHelper(LongDocValues outerInstance) { this.outerInstance = outerInstance; mval = new MutableValueLong(); }