IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
Shared API for package java.math
editShared API for package java.math
editSee the Shared API for a high-level overview of all packages and classes.
BigDecimal
edit- static BigDecimal ONE
- static BigDecimal TEN
- static BigDecimal ZERO
- static BigDecimal valueOf(double)
- BigDecimal(String)
- BigDecimal(String, MathContext)
- BigDecimal abs()
- BigDecimal abs(MathContext)
- BigDecimal add(BigDecimal)
- BigDecimal add(BigDecimal, MathContext)
- byte byteValue()
- byte byteValueExact()
- int compareTo(BigDecimal)
- BigDecimal divide(BigDecimal)
- BigDecimal divide(BigDecimal, MathContext)
- BigDecimal[] divideAndRemainder(BigDecimal)
- BigDecimal[] divideAndRemainder(BigDecimal, MathContext)
- BigDecimal divideToIntegralValue(BigDecimal)
- BigDecimal divideToIntegralValue(BigDecimal, MathContext)
- double doubleValue()
- boolean equals(Object)
- float floatValue()
- int hashCode()
- int intValue()
- int intValueExact()
- long longValue()
- long longValueExact()
- BigDecimal max(BigDecimal)
- BigDecimal min(BigDecimal)
- BigDecimal movePointLeft(int)
- BigDecimal movePointRight(int)
- BigDecimal multiply(BigDecimal)
- BigDecimal multiply(BigDecimal, MathContext)
- BigDecimal negate()
- BigDecimal negate(MathContext)
- BigDecimal plus()
- BigDecimal plus(MathContext)
- BigDecimal pow(int)
- BigDecimal pow(int, MathContext)
- int precision()
- BigDecimal remainder(BigDecimal)
- BigDecimal remainder(BigDecimal, MathContext)
- BigDecimal round(MathContext)
- int scale()
- BigDecimal scaleByPowerOfTen(int)
- BigDecimal setScale(int)
- BigDecimal setScale(int, RoundingMode)
- short shortValue()
- short shortValueExact()
- int signum()
- BigDecimal stripTrailingZeros()
- BigDecimal subtract(BigDecimal)
- BigDecimal subtract(BigDecimal, MathContext)
- BigInteger toBigInteger()
- BigInteger toBigIntegerExact()
- String toEngineeringString()
- String toPlainString()
- String toString()
- BigDecimal ulp()
BigInteger
edit- static BigInteger ONE
- static BigInteger TEN
- static BigInteger ZERO
- static BigInteger valueOf(long)
- BigInteger(String)
- BigInteger(String, int)
- BigInteger abs()
- BigInteger add(BigInteger)
- BigInteger and(BigInteger)
- BigInteger andNot(BigInteger)
- int bitCount()
- int bitLength()
- byte byteValue()
- byte byteValueExact()
- BigInteger clearBit(int)
- int compareTo(BigInteger)
- BigInteger divide(BigInteger)
- BigInteger[] divideAndRemainder(BigInteger)
- double doubleValue()
- boolean equals(Object)
- BigInteger flipBit(int)
- float floatValue()
- BigInteger gcd(BigInteger)
- int getLowestSetBit()
- int hashCode()
- int intValue()
- int intValueExact()
- long longValue()
- long longValueExact()
- BigInteger max(BigInteger)
- BigInteger min(BigInteger)
- BigInteger mod(BigInteger)
- BigInteger modInverse(BigInteger)
- BigInteger modPow(BigInteger, BigInteger)
- BigInteger multiply(BigInteger)
- BigInteger negate()
- BigInteger not()
- BigInteger or(BigInteger)
- BigInteger pow(int)
- BigInteger remainder(BigInteger)
- BigInteger setBit(int)
- BigInteger shiftLeft(int)
- BigInteger shiftRight(int)
- short shortValue()
- short shortValueExact()
- int signum()
- BigInteger subtract(BigInteger)
- boolean testBit(int)
- byte[] toByteArray()
- String toString()
- String toString(int)
- BigInteger xor(BigInteger)
MathContext
edit- static MathContext DECIMAL128
- static MathContext DECIMAL32
- static MathContext DECIMAL64
- static MathContext UNLIMITED
- MathContext(int)
- MathContext(int, RoundingMode)
- boolean equals(Object)
- int getPrecision()
- RoundingMode getRoundingMode()
- int hashCode()
- String toString()
RoundingMode
edit- static RoundingMode CEILING
- static RoundingMode DOWN
- static RoundingMode FLOOR
- static RoundingMode HALF_DOWN
- static RoundingMode HALF_EVEN
- static RoundingMode HALF_UP
- static RoundingMode UNNECESSARY
- static RoundingMode UP
- static RoundingMode valueOf(String)
- static RoundingMode[] values()
- int compareTo(Enum)
- boolean equals(Object)
- int hashCode()
- String name()
- int ordinal()
- String toString()