|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectorg.test4j.hamcrest.matcher.property.difference.Difference
public class Difference
A class for holding the difference between two objects.
| 构造方法摘要 | |
|---|---|
Difference(String message,
Object leftValue,
Object rightValue)
Creates a difference. |
|
| 方法摘要 | ||
|---|---|---|
|
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. |
|
String |
toString()
|
|
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| 构造方法详细信息 |
|---|
public Difference(String message,
Object leftValue,
Object rightValue)
message - a message describing the differenceleftValue - the left instancerightValue - the right instance| 方法详细信息 |
|---|
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 applicable
public String toString()
Object 中的 toString
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||