public class Difference extends Object
| Constructor and Description |
|---|
Difference(String message,
Object leftValue,
Object rightValue)
Creates a difference.
|
| Modifier and Type | Method and Description |
|---|---|
<T,A> T |
accept(DifferenceVisitor<T,A> visitor,
A argument)
Double dispatch method.
|
Object |
getLeftValue()
Gets the left value.
|
String |
getMessage()
Gets the message indicating the kind of difference.
|
Object |
getRightValue()
Gets the right value.
|
public Object getLeftValue()
public Object getRightValue()
public String getMessage()
public <T,A> T accept(DifferenceVisitor<T,A> visitor, A argument)
visitor - The visitor, not nullargument - An optional argument for the visitor, null if not applicableCopyright © 2016. All Rights Reserved.