java.math.BigInteger and java.math.BigDecimal instances.
This package is a part of the open-source Guava library.
See the Guava User Guide article on math utilities.
| Modifier and Type | Annotation and Description |
|---|---|
| pack-priv @interface | ElementTypesAreNonnullByDefault
Marks all "top-level" types as non-null in a way that is recognized by Kotlin. |
| pack-priv @interface | ParametricNullness
Annotates a "top-level" type-variable usage that takes its nullness from the type argument supplied by the user of the class. |
| Modifier and Type | Class and Description |
|---|---|
| public class | BigDecimalMath
A class for arithmetic on |
| public class | BigIntegerMath
A class for arithmetic on values of type |
| public class | DoubleMath
A class for arithmetic on doubles that is not covered by |
| pack-priv class | DoubleUtils
Utilities for |
| public class | IntMath
A class for arithmetic on values of type |
| public abstract class | LinearTransformation
The representation of a linear transformation between real numbers |
| public class | LongMath
A class for arithmetic on values of type |
| pack-priv class | MathPreconditions
A collection of preconditions for math functions. |
| public class | PairedStats
An immutable value object capturing some basic statistics about a collection of paired double values (e.g. points on a plane). |
| public class | PairedStatsAccumulator
A mutable object which accumulates paired double values (e.g. points on a plane) and tracks some basic statistics over all the values added so far. |
| public class | |
| public class | Stats
A bundle of statistical summary values -- sum, count, mean/average, min and max, and several forms of variance -- that were computed from a single set of zero or more floating-point values. |
| public class | StatsAccumulator
A mutable object which accumulates double values and tracks some basic statistics over all the values added so far. |
| pack-priv abstract class | ToDoubleRounder<X extends Number & Comparable
Helper type to implement rounding |