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