|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.fest.assertions.Delta
public final class Delta
Understands a finite increment in a variable.
Method Summary | |
---|---|
static Delta |
delta(double value)
Creates a new . |
static Delta |
delta(float value)
Creates a new . |
double |
doubleValue()
Returns the value of this delta as a double . |
float |
floatValue()
Returns the value of this delta as a float . |
double |
value()
Deprecated. use instead. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Delta delta(double value)
Delta
.
value
- the value of the delta.
Delta
.public static Delta delta(float value)
Delta
.
value
- the value of the delta.
Delta
.@Deprecated public double value()
doubleValue()
instead.
public double doubleValue()
double
.
double
.public float floatValue()
float
.
float
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |