Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2ce6904d authored by Vova Sharaienko's avatar Vova Sharaienko
Browse files

[TeX] Updated the comments for the Histogram class

Bug: 268161449
Change-Id: I37106e1f697bccf8e8b9a2b46760b4f5f0e9eb75
Test: m
parent 30eb433a
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -20,7 +20,7 @@ import android.annotation.NonNull;

import com.android.internal.util.FrameworkStatsLog;

/** CounterHistogram encapsulates StatsD write API calls */
/** Histogram encapsulates StatsD write API calls */
public final class Histogram {

    private final long mMetricIdHash;
@@ -42,10 +42,10 @@ public final class Histogram {
                /*count*/ 1, binIndex);
    }

    /** Used by CounterHistogram to map data sample to corresponding bin */
    /** Used by Histogram to map data sample to corresponding bin */
    public interface BinOptions {
        /**
         * Returns bins count to be used by counter histogram
         * Returns bins count to be used by a histogram
         *
         * @return bins count used to initialize Options, including overflow & underflow bins
         * @hide
@@ -62,7 +62,7 @@ public final class Histogram {
        int getBinForSample(float sample);
    }

    /** Used by CounterHistogram to map data sample to corresponding bin for on uniform bins */
    /** Used by Histogram to map data sample to corresponding bin for uniform bins */
    public static final class UniformOptions implements BinOptions {

        private final int mBinCount;