HdrHistogram.LongHistogram.Copy C# (CSharp) Method

Copy() public method

Create a copy of this histogram, complete with data and everything.
public Copy ( ) : HistogramBase
return HistogramBase
        public override HistogramBase Copy()
        {
            var copy = new LongHistogram(LowestTrackableValue, HighestTrackableValue, NumberOfSignificantValueDigits);
            copy.Add(this);
            return copy;
        }