final class PrimitiveIntCastExtensions
extends java.lang.Object
Provide static functions related to the casting of numbers of type int
.
-
Maven Group Identifier:
-
-
Maven Artifact Identifier:
-
-
Since:
-
-
See:
-
Action Summary
Modifier and type |
Action and description |
static com.google.common.util.concurrent.AtomicDouble |
toAtomicDouble(int)
Convert the given value to AtomicDouble . |
static java.util.concurrent.atomic.AtomicInteger |
toAtomicInteger(int)
Convert the given value to AtomicInteger . |
static java.util.concurrent.atomic.AtomicLong |
toAtomicLong(int)
Convert the given value to AtomicLong . |
static java.math.BigDecimal |
toBigDecimal(int)
Convert the given value to BigDecimal . |
static java.math.BigInteger |
toBigInteger(int)
Convert the given value to BigInteger . |
static java.lang.Byte |
toByte(int)
Convert the given value to Byte . |
static java.lang.Double |
toDouble(int)
Convert the given value to Doube . |
static java.lang.Float |
toFloat(int)
Convert the given value to Float . |
static java.lang.Long |
toLong(int)
Convert the given value to Long . |
static java.lang.Short |
toShort(int)
Convert the given value to Integer . |
static java.lang.String |
toString(int)
Convert the given value to String . |
Modifier and type |
Action and description |
static com.google.common.util.concurrent.AtomicDouble |
toAtomicDouble(int)
Convert the given value to AtomicDouble . |
static java.util.concurrent.atomic.AtomicInteger |
toAtomicInteger(int)
Convert the given value to AtomicInteger . |
static java.util.concurrent.atomic.AtomicLong |
toAtomicLong(int)
Convert the given value to AtomicLong . |
static java.math.BigDecimal |
toBigDecimal(int)
Convert the given value to BigDecimal . |
static java.math.BigInteger |
toBigInteger(int)
Convert the given value to BigInteger . |
static java.lang.Byte |
toByte(int)
Convert the given value to Byte . |
static java.lang.Double |
toDouble(int)
Convert the given value to Doube . |
static java.lang.Float |
toFloat(int)
Convert the given value to Float . |
static java.lang.Long |
toLong(int)
Convert the given value to Long . |
static java.lang.Short |
toShort(int)
Convert the given value to Integer . |
static java.lang.String |
toString(int)
Convert the given value to String . |
Action Details
-
toAtomicDouble(int)
-
def toAtomicDouble(int) : com.google.common.util.concurrent.AtomicDouble
Convert the given value to AtomicDouble
.
-
Parameters:
-
number -
-
Returns:
-
-
toAtomicInteger(int)
-
def toAtomicInteger(int) : java.util.concurrent.atomic.AtomicInteger
Convert the given value to AtomicInteger
.
-
Parameters:
-
number -
-
Returns:
-
-
toAtomicLong(int)
-
def toAtomicLong(int) : java.util.concurrent.atomic.AtomicLong
Convert the given value to AtomicLong
.
-
Parameters:
-
number -
-
Returns:
-
-
toBigDecimal(int)
-
def toBigDecimal(int) : java.math.BigDecimal
Convert the given value to BigDecimal
.
-
Parameters:
-
number -
-
Returns:
-
-
toBigInteger(int)
-
def toBigInteger(int) : java.math.BigInteger
Convert the given value to BigInteger
.
-
Parameters:
-
number -
-
Returns:
-
-
toByte(int)
-
def toByte(int) : java.lang.Byte
Convert the given value to Byte
.
-
Parameters:
-
number -
-
Returns:
-
-
toDouble(int)
-
def toDouble(int) : java.lang.Double
Convert the given value to Doube
.
-
Parameters:
-
number -
-
Returns:
-
-
toFloat(int)
-
def toFloat(int) : java.lang.Float
Convert the given value to Float
.
-
Parameters:
-
number -
-
Returns:
-
-
toLong(int)
-
def toLong(int) : java.lang.Long
Convert the given value to Long
.
-
Parameters:
-
number -
-
Returns:
-
-
toShort(int)
-
def toShort(int) : java.lang.Short
Convert the given value to Integer
.
-
Parameters:
-
number -
-
Returns:
-
-
toString(int)
-
def toString(int) : java.lang.String
Convert the given value to String
.
-
Parameters:
-
number -
-
Returns:
-