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.AutoCloseable
The local context used to push and pop aMathContext
on 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.MathContext
mathContext
-
Constructor Summary
Constructors Constructor Description LocalMathContext(java.math.MathContext mathContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
-