final class BigDecimalCastExtensions
extends java.lang.Object
Provide static functions related to the casting of numbers of type BigDecimal
.
-
Maven Group Identifier:
-
-
Maven Artifact Identifier:
-
-
Since:
-
Action Summary
Modifier and type |
Action and description |
static com.google.common.util.concurrent.AtomicDouble |
toAtomicDouble(BigDecimal)
Convert the given value to AtomicDouble . |
static java.util.concurrent.atomic.AtomicInteger |
toAtomicInteger(BigDecimal)
Convert the given value to AtomicInteger . |
static java.util.concurrent.atomic.AtomicLong |
toAtomicLong(BigDecimal)
Convert the given value to AtomicLong . |
Modifier and type |
Action and description |
static com.google.common.util.concurrent.AtomicDouble |
toAtomicDouble(BigDecimal)
Convert the given value to AtomicDouble . |
static java.util.concurrent.atomic.AtomicInteger |
toAtomicInteger(BigDecimal)
Convert the given value to AtomicInteger . |
static java.util.concurrent.atomic.AtomicLong |
toAtomicLong(BigDecimal)
Convert the given value to AtomicLong . |
Action Details
-
toAtomicDouble(BigDecimal)
-
def toAtomicDouble(BigDecimal) : com.google.common.util.concurrent.AtomicDouble
Convert the given value to AtomicDouble
. This function is not null-safe.
-
Parameters:
-
number -
-
Returns:
-
-
toAtomicInteger(BigDecimal)
-
def toAtomicInteger(BigDecimal) : java.util.concurrent.atomic.AtomicInteger
Convert the given value to AtomicInteger
. This function is not null-safe.
-
Parameters:
-
number -
-
Returns:
-
-
toAtomicLong(BigDecimal)
-
def toAtomicLong(BigDecimal) : java.util.concurrent.atomic.AtomicLong
Convert the given value to AtomicLong
. This function is not null-safe.
-
Parameters:
-
number -
-
Returns:
-