/// <summary> /// Returns a {@code LongAccumulator} object with initial state /// held by this proxy. /// </summary> /// <returns> a {@code LongAccumulator} object with initial state /// held by this proxy. </returns> internal virtual Object ReadResolve() { LongAccumulator a = new LongAccumulator(Function, Identity); a.@base = Value; return(a); }
internal SerializationProxy(LongAccumulator a) { Function = a.Function; Identity = a.Identity; Value = a.Get(); }