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