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

    Fields in com.google.common.math declared as Stats
    Modifier and Type
    Field
    Description
    private final Stats
    PairedStats.xStats
     
    private final Stats
    PairedStats.yStats
     
    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.
    (package private) static Stats
    Stats.readFrom(ByteBuffer buffer)
    Creates a Stats instance from the byte representation read from the given ByteBuffer.
    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.
    Constructors in com.google.common.math with parameters of type Stats
    Modifier
    Constructor
    Description
    (package private)
    PairedStats(Stats xStats, Stats yStats, double sumOfProductsOfDeltas)
    Internal constructor.