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