public class UntypedDouble extends UntypedNumber implements Serializable
Polymorphic version of java.lang.Double
.
Constructor and Description |
---|
UntypedDouble() |
UntypedDouble(double value) |
UntypedDouble(Double value) |
Modifier and Type | Method and Description |
---|---|
UntypedNumber |
add(UntypedNumber other) |
int |
compareTo(Object other) |
UntypedNumber |
divide(UntypedNumber other) |
double |
doubleValue() |
boolean |
equals(Object other) |
float |
floatValue() |
int |
intValue() |
long |
longValue() |
UntypedNumber |
multiply(UntypedNumber other) |
protected void |
setValue(double value) |
UntypedNumber |
subtract(UntypedNumber other) |
String |
toString() |
byteValue, shortValue
public UntypedDouble()
public UntypedDouble(Double value)
public UntypedDouble(double value)
public UntypedNumber add(UntypedNumber other)
add
in class UntypedNumber
public UntypedNumber multiply(UntypedNumber other)
multiply
in class UntypedNumber
public UntypedNumber subtract(UntypedNumber other)
subtract
in class UntypedNumber
public UntypedNumber divide(UntypedNumber other)
divide
in class UntypedNumber
public float floatValue()
floatValue
in class Number
public double doubleValue()
doubleValue
in class Number
public int compareTo(Object other)
compareTo
in interface Comparable
protected void setValue(double value)
Copyright © 2014. All rights reserved.