Uses of Package java.math (Java SE 22 & JDK 22)
Description: use: module: java.base, package: java.math

# Uses of Package
java.math

Packages that use java.math
Package
Description
java.awt.image
Provides classes for creating and modifying images.
java.math
Provides classes for performing arbitrary-precision integer arithmetic (`BigInteger`) and arbitrary-precision decimal arithmetic (`BigDecimal`).
java.security.cert
Provides classes and interfaces for parsing and managing certificates, certificate revocation lists (CRLs), and certification paths.
java.security.interfaces
Provides interfaces for generating RSA (Rivest, Shamir and Adleman AsymmetricCipher algorithm) keys as defined in the RSA Laboratory Technical Note PKCS#1, and DSA (Digital Signature Algorithm) keys as defined in NIST's FIPS-186.
java.security.spec
Provides classes and interfaces for key specifications and algorithm parameter specifications.
java.sql
Provides the API for accessing and processing data stored in a data source (usually a relational database) using the Java programming language.
java.text
Provides classes and interfaces for handling text, dates, numbers, and messages in a manner independent of natural languages.
java.util
Contains the collections framework, some internationalization support classes, a service loader, properties, random number generation, string parsing and scanning classes, base64 encoding and decoding, a bit array, and several miscellaneous utility classes.
java.util.random
This package contains classes and interfaces that support a generic API for random number generation.
javax.crypto.interfaces
Provides interfaces for Diffie-Hellman keys as defined in RSA Laboratories' PKCS #3.
javax.crypto.spec
Provides classes and interfaces for key specifications and algorithm parameter specifications.
javax.management.openmbean
Provides the open data types and Open MBean descriptor classes.
javax.security.cert
Provides classes for public key certificates.
javax.sql
Provides the API for server side data source access and processing from the Java programming language.
javax.sql.rowset
Standard interfaces and base classes for JDBC `RowSet` implementations.
javax.sql.rowset.serial
Provides utility classes to allow serializable mappings between SQL types and data types in the Java programming language.
javax.xml.crypto.dsig.keyinfo
Classes for parsing and processing `KeyInfo` elements and structures.
javax.xml.datatype
Defines XML/Java Type Mappings.

- Classes in java.math used by java.awt.image
  Class
  Description
  BigInteger
  Immutable arbitrary-precision integers.
- Classes in java.math used by java.math
  Class
  Description
  BigDecimal
  Immutable, arbitrary-precision signed decimal numbers.
  BigInteger
  Immutable arbitrary-precision integers.
  MathContext
  Immutable objects which encapsulate the context settings which describe certain rules for numerical operators, such as those implemented by the `BigDecimal` class.
  RoundingMode
  Specifies a rounding policy for numerical operations capable of discarding precision.
- Classes in java.math used by java.security.cert
  Class
  Description
  BigInteger
  Immutable arbitrary-precision integers.
- Classes in java.math used by java.security.interfaces
  Class
  Description
  BigInteger
  Immutable arbitrary-precision integers.
- Classes in java.math used by java.security.spec
  Class
  Description
  BigInteger
  Immutable arbitrary-precision integers.
- Classes in java.math used by java.sql
  Class
  Description
  BigDecimal
  Immutable, arbitrary-precision signed decimal numbers.
- Classes in java.math used by java.text
  Class
  Description
  RoundingMode
  Specifies a rounding policy for numerical operations capable of discarding precision.
- Classes in java.math used by java.util
  Class
  Description
  BigDecimal
  Immutable, arbitrary-precision signed decimal numbers.
  BigInteger
  Immutable arbitrary-precision integers.
- Classes in java.math used by java.util.random
  Class
  Description
  BigInteger
  Immutable arbitrary-precision integers.
- Classes in java.math used by javax.crypto.interfaces
  Class
  Description
  BigInteger
  Immutable arbitrary-precision integers.
- Classes in java.math used by javax.crypto.spec
  Class
  Description
  BigInteger
  Immutable arbitrary-precision integers.
- Classes in java.math used by javax.management.openmbean
  Class
  Description
  BigDecimal
  Immutable, arbitrary-precision signed decimal numbers.
  BigInteger
  Immutable arbitrary-precision integers.
- Classes in java.math used by javax.security.cert
  Class
  Description
  BigInteger
  Immutable arbitrary-precision integers.
- Classes in java.math used by javax.sql
  Class
  Description
  BigDecimal
  Immutable, arbitrary-precision signed decimal numbers.
- Classes in java.math used by javax.sql.rowset
  Class
  Description
  BigDecimal
  Immutable, arbitrary-precision signed decimal numbers.
- Classes in java.math used by javax.sql.rowset.serial
  Class
  Description
  BigDecimal
  Immutable, arbitrary-precision signed decimal numbers.
- Classes in java.math used by javax.xml.crypto.dsig.keyinfo
  Class
  Description
  BigInteger
  Immutable arbitrary-precision integers.
- Classes in java.math used by javax.xml.datatype
  Class
  Description
  BigDecimal
  Immutable, arbitrary-precision signed decimal numbers.
  BigInteger
  Immutable arbitrary-precision integers.