public class DoubleDifference extends Object implements IDifference
IDifference
between two Double
.Modifier and Type | Method and Description |
---|---|
static IDifference |
construct(String name,
Double first,
Double second)
Constructs a new
IDifference object. |
String |
toString()
Returns a
String representation for this IDifference . |
public static IDifference construct(String name, Double first, Double second)
IDifference
object.name
- a name reflecting the nature of the created IDifference
first
- the first object to comparesecond
- the second object to compareIDifference
reflecting the differences between the first and second objectCopyright © 2022. All rights reserved.