org.test4j.hamcrest.matcher.property.reflection
类 InnerDifferenceFinder

java.lang.Object
  继承者 org.test4j.hamcrest.matcher.property.reflection.InnerDifferenceFinder

public class InnerDifferenceFinder
extends Object

A utility class to get the difference at the given element/field/key.


嵌套类摘要
protected static class InnerDifferenceFinder.InnerDifferenceVisitor
          The visitor for visiting the difference tree.
 
构造方法摘要
InnerDifferenceFinder()
           
 
方法摘要
static Difference getInnerDifference(String fieldName, Difference difference)
          Gets the difference at the given element/field/key (depending on the type of the given difference)
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

InnerDifferenceFinder

public InnerDifferenceFinder()
方法详细信息

getInnerDifference

public static Difference getInnerDifference(String fieldName,
                                            Difference difference)
Gets the difference at the given element/field/key (depending on the type of the given difference)

参数:
fieldName - The name of the element/field/key
difference - The difference, not null
返回:
The difference, null if there is no difference


Copyright © 2013. All rights reserved.