Package ch.obermuhlner.math.big
Class DefaultBigDecimalMath.LocalMathContext
java.lang.Object
ch.obermuhlner.math.big.DefaultBigDecimalMath.LocalMathContext
- All Implemented Interfaces:
AutoCloseable
- Enclosing class:
DefaultBigDecimalMath
The local context used to push and pop a
MathContext
on the stack.
The recommended way to use this class is to use the try-with-resources.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
mathContext
-
-
Constructor Details
-
LocalMathContext
LocalMathContext(MathContext mathContext)
-
-
Method Details
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-