/// <summary> /// Returns a {@code DoubleAdder} object with initial state /// held by this proxy. /// </summary> /// <returns> a {@code DoubleAdder} object with initial state /// held by this proxy. </returns> internal virtual Object ReadResolve() { DoubleAdder a = new DoubleAdder(); a.@base = Double.doubleToRawLongBits(Value); return(a); }
internal SerializationProxy(DoubleAdder a) { Value = a.Sum(); }