public override MutableValue Duplicate()
 {
     MutableValueFloat v = new MutableValueFloat();
     v.Value = this.Value;
     v.Exists = this.Exists;
     return v;
 }
Beispiel #2
0
        public override void Copy(MutableValue source)
        {
            MutableValueFloat s = (MutableValueFloat)source;

            Value  = s.Value;
            Exists = s.Exists;
        }
Beispiel #3
0
        public override MutableValue Duplicate()
        {
            MutableValueFloat v = new MutableValueFloat();

            v.Value  = this.Value;
            v.Exists = this.Exists;
            return(v);
        }
Beispiel #4
0
        public override int CompareSameType(object other)
        {
            MutableValueFloat b = (MutableValueFloat)other;
            int c = Value.CompareTo(b.Value);

            if (c != 0)
            {
                return(c);
            }
            if (Exists == b.Exists)
            {
                return(0);
            }
            return(Exists ? 1 : -1);
        }
 public ValueFillerAnonymousInnerClassHelper(FloatDocValuesAnonymousInnerClassHelper outerInstance)
 {
     this.outerInstance = outerInstance;
     mval = new MutableValueFloat();
 }
Beispiel #6
0
        public override bool EqualsSameType(object other)
        {
            MutableValueFloat b = (MutableValueFloat)other;

            return(Value == b.Value && Exists == b.Exists);
        }