io.sarl.lang.core.scoping.extensions.numbers.cast
Class AtomicDoubleCastExtensions
final class AtomicDoubleCastExtensions
extends java.lang.Object
Provide static functions related to the casting of numbers of type AtomicDouble.
Maven Group Identifier:
io.sarl.lang
Maven Artifact Identifier:
core
Since:
0.9
See:
"https://github.com/eclipse/xtext-extras/issues/186"
Action Summary
Modifier and type Action and description
static java.util.concurrent.atomic.AtomicInteger toAtomicInteger(AtomicDouble)
Convert the given value to AtomicInteger.
static java.util.concurrent.atomic.AtomicLong toAtomicLong(AtomicDouble)
Convert the given value to AtomicLong.
static java.math.BigDecimal toBigDecimal(AtomicDouble)
Convert the given value to BigDecimal.
static java.math.BigInteger toBigInteger(AtomicDouble)
Convert the given value to BigInteger.
static java.lang.Byte toByte(AtomicDouble)
Convert the given value to Byte.
static java.lang.Double toDouble(AtomicDouble)
Convert the given value to Double.
static java.lang.Float toFloat(AtomicDouble)
Convert the given value to Float.
static java.lang.Integer toInteger(AtomicDouble)
Convert the given value to Integer.
static java.lang.Long toLong(AtomicDouble)
Convert the given value to Long.
static java.lang.Short toShort(AtomicDouble)
Convert the given value to Short.
Action Details
toAtomicInteger(AtomicDouble)
def toAtomicInteger(AtomicDouble) : java.util.concurrent.atomic.AtomicInteger
Convert the given value to AtomicInteger. This function is not null-safe.
Parameters:
number - a number of AtomicDouble type.
Returns:
the equivalent value to number of AtomicInteger type.
toAtomicLong(AtomicDouble)
def toAtomicLong(AtomicDouble) : java.util.concurrent.atomic.AtomicLong
Convert the given value to AtomicLong. This function is not null-safe.
Parameters:
number - a number of AtomicDouble type.
Returns:
the equivalent value to number of AtomicLong type.
toBigDecimal(AtomicDouble)
def toBigDecimal(AtomicDouble) : java.math.BigDecimal
Convert the given value to BigDecimal.
Parameters:
number - a number of AtomicDouble type.
Returns:
the equivalent value to number of BigDecimal type.
toBigInteger(AtomicDouble)
def toBigInteger(AtomicDouble) : java.math.BigInteger
Convert the given value to BigInteger.
Parameters:
number - a number of AtomicDouble type.
Returns:
the equivalent value to number of BigInteger type.
toByte(AtomicDouble)
def toByte(AtomicDouble) : java.lang.Byte
Convert the given value to Byte. This function is not null-safe
Parameters:
number - a number of AtomicDouble type.
Returns:
the equivalent value to number of Byte type.
toDouble(AtomicDouble)
def toDouble(AtomicDouble) : java.lang.Double
Convert the given value to Double. This function is not null-safe.
Parameters:
number - a number of AtomicDouble type.
Returns:
the equivalent value to number of Double type.
toFloat(AtomicDouble)
def toFloat(AtomicDouble) : java.lang.Float
Convert the given value to Float. This function is not null-safe.
Parameters:
number - a number of AtomicDouble type.
Returns:
the equivalent value to number of Float type.
toInteger(AtomicDouble)
def toInteger(AtomicDouble) : java.lang.Integer
Convert the given value to Integer. This function is not null-safe.
Parameters:
number - a number of AtomicDouble type.
Returns:
the equivalent value to number of Integer type.
toLong(AtomicDouble)
def toLong(AtomicDouble) : java.lang.Long
Convert the given value to Long. This function is not null-safe.
Parameters:
number - a number of AtomicDouble type.
Returns:
the equivalent value to number of Long type.
toShort(AtomicDouble)
def toShort(AtomicDouble) : java.lang.Short
Convert the given value to Short. This function is not null-safe.
Parameters:
number - a number of AtomicDouble type.
Returns:
the equivalent value to number of Short type.