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