|
||||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||
| 使用 Comparator 的软件包 | |
|---|---|
| org.test4j.hamcrest.matcher.property.comparator | |
| org.test4j.hamcrest.matcher.property.reflection | |
| org.test4j.hamcrest.matcher.property.comparator 中 Comparator 的使用 |
|---|
| 实现 Comparator 的 org.test4j.hamcrest.matcher.property.comparator 中的类 | |
|---|---|
class |
EqStringComparator
|
class |
HibernateProxyComparator
Comparator that can handle Hibernate proxies. |
class |
IgnoreDatesComparator
Comparator that checks whether 2 dates are both null or not null, the actual time-value is not compared. |
class |
IgnoreDefaultsComparator
A comparator that filters out java-defaults. |
class |
IgnoreNumberComparator
A comparator that compares primitive types by value and not by type. |
class |
IgnoreOrderComparator
A comparator for collections and arrays that ignores the order of both collections. |
class |
ListComparator
Comparator for collections and arrays. |
class |
MapComparator
Comparator for maps. |
class |
ObjectComparator
Comparator for objects. |
class |
SimpleCasesComparator
Comparator for simple cases. |
| org.test4j.hamcrest.matcher.property.reflection 中 Comparator 的使用 |
|---|
| 声明为 Comparator 的 org.test4j.hamcrest.matcher.property.reflection 中的字段 | |
|---|---|
protected static Comparator |
ReflectionComparatorFactory.COLLECTION_COMPARATOR
The CollectionComparator singleton insance |
protected static Comparator |
ReflectionComparatorFactory.EQ_STRING_COMPARATOR
The object equals to String comparator |
protected static Comparator |
ReflectionComparatorFactory.HIBERNATE_PROXY_COMPARATOR
The HibernateProxyComparator singleton insance |
protected static Comparator |
ReflectionComparatorFactory.IGNORE_DEFAULTS_COMPARATOR
The IgnoreDefaultsComparator singleton insance |
protected static Comparator |
ReflectionComparatorFactory.LENIENT_DATES_COMPARATOR
The LenientDatesComparator singleton insance |
protected static Comparator |
ReflectionComparatorFactory.LENIENT_NUMBER_COMPARATOR
The LenientNumberComparator singleton insance |
protected static Comparator |
ReflectionComparatorFactory.LENIENT_ORDER_COMPARATOR
The LenientOrderCollectionComparator singleton insance |
protected static Comparator |
ReflectionComparatorFactory.MAP_COMPARATOR
The MapComparator singleton insance |
protected static Comparator |
ReflectionComparatorFactory.OBJECT_COMPARATOR
The ObjectComparator singleton insance |
protected static Comparator |
ReflectionComparatorFactory.SIMPLE_CASES_COMPARATOR
The SimpleCasesComparatorsingleton insance |
| 类型参数类型为 Comparator 的 org.test4j.hamcrest.matcher.property.reflection 中的字段 | |
|---|---|
protected List<Comparator> |
ReflectionComparator.comparators
The comparator chain. |
| 返回变量类型为 Comparator 的类型的 org.test4j.hamcrest.matcher.property.reflection 中的方法 | |
|---|---|
protected static List<Comparator> |
ReflectionComparatorFactory.getComparatorChain(List<EqMode> modes)
Creates a comparator chain for the given modes. |
| 类型变量类型为 Comparator 的 org.test4j.hamcrest.matcher.property.reflection 中的构造方法参数 | |
|---|---|
ReflectionComparator(List<Comparator> comparators)
Creates a comparator that will use the given chain. |
|
|
||||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||