public override void Copy(MutableValue source) { MutableValueInt32 s = (MutableValueInt32)source; Value = s.Value; Exists = s.Exists; }
public override MutableValue Duplicate() { MutableValueInt32 v = new MutableValueInt32(); v.Value = this.Value; v.Exists = this.Exists; return(v); }
public Int32DocValuesAnonymousInnerClassHelper(Int32FieldSource outerInstance, Int32FieldSource @this, FieldCache.Int32s arr, IBits valid) : base(@this) { this.outerInstance = outerInstance; this.arr = arr; this.valid = valid; val = new MutableValueInt32(); }
public override int CompareSameType(object other) { MutableValueInt32 b = (MutableValueInt32)other; int ai = Value; int bi = b.Value; if (ai < bi) { return(-1); } else if (ai > bi) { return(1); } if (Exists == b.Exists) { return(0); } return(Exists ? 1 : -1); }
public override bool EqualsSameType(object other) { MutableValueInt32 b = (MutableValueInt32)other; return(Value == b.Value && Exists == b.Exists); }
public ValueFillerAnonymousInnerClassHelper(Int32DocValuesAnonymousInnerClassHelper outerInstance) { this.outerInstance = outerInstance; mval = new MutableValueInt32(); }