Uses of Class
com.google.common.math.Stats

Packages that use Stats
Package
Description
Arithmetic functions operating on primitive values and on BigInteger and BigDecimal instances.
  • Uses of Stats in com.google.common.math

    Methods in com.google.common.math that return Stats
    Modifier and Type
    Method
    Description
    static Stats
    Stats.fromByteArray(byte[] byteArray)
    Creates a Stats instance from the given byte representation which was obtained by toByteArray().
    static Stats
    Stats.of(double... values)
    Returns statistics over a dataset containing the given values.
    static Stats
    Stats.of(int... values)
    Returns statistics over a dataset containing the given values.
    static Stats
    Stats.of(long... values)
    Returns statistics over a dataset containing the given values.
    static Stats
    Stats.of(Iterable<? extends Number> values)
    Returns statistics over a dataset containing the given values.
    static Stats
    Stats.of(Iterator<? extends Number> values)
    Returns statistics over a dataset containing the given values.
    static Stats
    Stats.of(DoubleStream values)
    Returns statistics over a dataset containing the given values.
    static Stats
    Stats.of(IntStream values)
    Returns statistics over a dataset containing the given values.
    static Stats
    Stats.of(LongStream values)
    Returns statistics over a dataset containing the given values.
    StatsAccumulator.snapshot()
    Returns an immutable snapshot of the current statistics.
    PairedStats.xStats()
    Returns the statistics on the x values alone.
    PairedStatsAccumulator.xStats()
    Returns an immutable snapshot of the statistics on the x values alone.
    PairedStats.yStats()
    Returns the statistics on the y values alone.
    PairedStatsAccumulator.yStats()
    Returns an immutable snapshot of the statistics on the y values alone.
    Methods in com.google.common.math that return types with arguments of type Stats
    Modifier and Type
    Method
    Description
    Stats.toStats()
    Returns a Collector which accumulates statistics from a Stream of any type of boxed Number into a Stats.
    Methods in com.google.common.math with parameters of type Stats
    Modifier and Type
    Method
    Description
    void
    StatsAccumulator.addAll(Stats values)
    Adds the given statistics to the dataset, as if the individual values used to compute the statistics had been added directly.