Uses of Class
com.google.common.math.Stats
Package
Description
Arithmetic functions operating on primitive values and on
BigInteger
and BigDecimal
instances.-
Uses of Stats in com.google.common.math
Modifier and TypeMethodDescriptionstatic Stats
Stats.fromByteArray
(byte[] byteArray) Creates a Stats instance from the given byte representation which was obtained bytoByteArray()
.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
Returns statistics over a dataset containing the given values.static Stats
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
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 thex
values alone.PairedStatsAccumulator.xStats()
Returns an immutable snapshot of the statistics on thex
values alone.PairedStats.yStats()
Returns the statistics on they
values alone.PairedStatsAccumulator.yStats()
Returns an immutable snapshot of the statistics on they
values alone.Modifier and TypeMethodDescriptionstatic Collector
<Number, StatsAccumulator, Stats> Stats.toStats()