Lines Matching refs:RoundingMode
45 * a {@link RoundingMode} object which specifies the algorithm to be
50 * @see RoundingMode
62 private static final RoundingMode DEFAULT_ROUNDINGMODE = RoundingMode.HALF_UP;
79 new MathContext(0, RoundingMode.HALF_UP);
84 * rounding mode of {@link RoundingMode#HALF_EVEN HALF_EVEN}, the
88 new MathContext(7, RoundingMode.HALF_EVEN);
93 * rounding mode of {@link RoundingMode#HALF_EVEN HALF_EVEN}, the
97 new MathContext(16, RoundingMode.HALF_EVEN);
102 * rounding mode of {@link RoundingMode#HALF_EVEN HALF_EVEN}, the
106 new MathContext(34, RoundingMode.HALF_EVEN);
124 * @see RoundingMode
127 final RoundingMode roundingMode;
133 * precision and the {@link RoundingMode#HALF_UP HALF_UP} rounding
156 RoundingMode setRoundingMode) {
160 throw new NullPointerException("null RoundingMode");
197 roundingMode = RoundingMode.valueOf(str);
222 * {@link RoundingMode#CEILING},
223 * {@link RoundingMode#DOWN},
224 * {@link RoundingMode#FLOOR},
225 * {@link RoundingMode#HALF_DOWN},
226 * {@link RoundingMode#HALF_EVEN},
227 * {@link RoundingMode#HALF_UP},
228 * {@link RoundingMode#UNNECESSARY}, or
229 * {@link RoundingMode#UP}.
231 * @return a {@code RoundingMode} object which is the value of the
235 public RoundingMode getRoundingMode() {
284 * corresponding public constant in the {@link RoundingMode}