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