public class IntegerDifference extends Object implements IDifference
IDifference
between two Integer
.Modifier and Type | Method and Description |
---|---|
static IDifference |
construct(String name,
Integer first,
Integer second)
Constructs a new
IDifference object. |
String |
toString()
Returns a
String representation for this IDifference . |
public static IDifference construct(String name, Integer first, Integer 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 © 2017. All Rights Reserved.