public abstract class NumberEnvelope extends Number implements Scalar<Double>
Number
.
There is no thread-safety guarantee.
Constructor and Description |
---|
NumberEnvelope(Scalar<Double> dnm)
Ctor.
|
NumberEnvelope(Scalar<Long> lnm,
Scalar<Integer> inm,
Scalar<Float> fnm,
Scalar<Double> dnm)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
double |
doubleValue() |
float |
floatValue() |
int |
intValue() |
long |
longValue() |
Double |
value()
Convert it to the value.
|
byteValue, shortValue
public final float floatValue()
floatValue
in class Number
public final double doubleValue()
doubleValue
in class Number
Copyright © 2017–2019 Cactoos. All rights reserved.