public override void Copy(MutableValue source) { MutableValueInt s = (MutableValueInt)source; Value = s.Value; Exists = s.Exists; }
public IntDocValuesAnonymousInnerClassHelper(EnumFieldSource outerInstance, EnumFieldSource @this, FieldCache.Ints arr, Bits valid) : base(@this) { this.outerInstance = outerInstance; this.arr = arr; this.valid = valid; val = new MutableValueInt(); }
public override MutableValue Duplicate() { MutableValueInt v = new MutableValueInt(); v.Value = this.Value; v.Exists = this.Exists; return v; }
public override MutableValue Duplicate() { MutableValueInt v = new MutableValueInt(); v.Value = this.Value; v.Exists = this.Exists; return(v); }
public override int CompareSameType(object other) { MutableValueInt b = (MutableValueInt)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 ValueFillerAnonymousInnerClassHelper(IntDocValuesAnonymousInnerClassHelper outerInstance) { this.outerInstance = outerInstance; mval = new MutableValueInt(); }
public override bool EqualsSameType(object other) { MutableValueInt b = (MutableValueInt)other; return(Value == b.Value && Exists == b.Exists); }