Package ch.obermuhlner.math.big
Class DefaultBigDecimalMath.LocalMathContext
- java.lang.Object
-
- ch.obermuhlner.math.big.DefaultBigDecimalMath.LocalMathContext
-
- All Implemented Interfaces:
java.lang.AutoCloseable
- Enclosing class:
- DefaultBigDecimalMath
public static class DefaultBigDecimalMath.LocalMathContext extends java.lang.Object implements java.lang.AutoCloseableThe local context used to push and pop aMathContexton the stack.The recommended way to use this class is to use the try-with-resources.
-
-
Field Summary
Fields Modifier and Type Field Description java.math.MathContextmathContext
-
Constructor Summary
Constructors Constructor Description LocalMathContext(java.math.MathContext mathContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()
-