public class ReflectionComparatorFactory extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static Comparator |
COLLECTION_COMPARATOR
The CollectionComparator singleton insance
|
protected static Comparator |
HIBERNATE_PROXY_COMPARATOR
The HibernateProxyComparator singleton insance
|
protected static Comparator |
IGNORE_DEFAULTS_COMPARATOR
The IgnoreDefaultsComparator singleton insance
|
protected static Comparator |
LENIENT_DATES_COMPARATOR
The LenientDatesComparator singleton insance
|
protected static Comparator |
LENIENT_NUMBER_COMPARATOR
The LenientNumberComparator singleton insance
|
protected static Comparator |
LENIENT_ORDER_COMPARATOR
The LenientOrderCollectionComparator singleton insance
|
protected static Comparator |
MAP_COMPARATOR
The MapComparator singleton insance
|
protected static Comparator |
OBJECT_COMPARATOR
The ObjectComparator singleton insance
|
protected static Comparator |
SIMPLE_CASES_COMPARATOR
The SimpleCasesComparatorsingleton insance
|
| Constructor and Description |
|---|
ReflectionComparatorFactory() |
| Modifier and Type | Method and Description |
|---|---|
static ReflectionComparator |
createRefectionComparator(ReflectionComparatorMode... modes)
Creates a reflection comparator for the given modes.
|
protected static List<Comparator> |
getComparatorChain(Set<ReflectionComparatorMode> modes)
Creates a comparator chain for the given modes.
|
protected static final Comparator LENIENT_DATES_COMPARATOR
protected static final Comparator IGNORE_DEFAULTS_COMPARATOR
protected static final Comparator LENIENT_NUMBER_COMPARATOR
protected static final Comparator SIMPLE_CASES_COMPARATOR
protected static final Comparator LENIENT_ORDER_COMPARATOR
protected static final Comparator COLLECTION_COMPARATOR
protected static final Comparator MAP_COMPARATOR
protected static final Comparator HIBERNATE_PROXY_COMPARATOR
protected static final Comparator OBJECT_COMPARATOR
public static ReflectionComparator createRefectionComparator(ReflectionComparatorMode... modes)
modes - The modes, null for strict comparisonprotected static List<Comparator> getComparatorChain(Set<ReflectionComparatorMode> modes)
modes - The modes, null for strict comparisonCopyright © 2016. All Rights Reserved.