public class DefaultObjectAttributeComparator extends Object implements ObjectAttributeComparator
ItemComparisonFacade| Constructor and Description |
|---|
DefaultObjectAttributeComparator() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
compareCollections(Collection coll1,
Collection coll2)
Compares collections
|
protected boolean |
compareMapObjects(Map map1,
Map map2)
Compare Map type objects.
|
protected boolean |
compareSingleObjects(Object object1,
Object object2)
Compares single (non-collection) values.
|
boolean |
isEqual(Object object1,
Object object2)
Checks, if two values are considered equal.
|
public boolean isEqual(Object object1, Object object2)
isEqual in interface ObjectAttributeComparatorobject1 - first object valueobject2 - second object valueprotected boolean compareMapObjects(Map map1, Map map2)
map1 - first map objectmap2 - second map objectprotected boolean compareSingleObjects(Object object1, Object object2)
object1 - first object valueobject2 - second object valueprotected boolean compareCollections(Collection coll1, Collection coll2)
coll1 - the first collectioncoll2 - the second collectionCopyright © 2018. All rights reserved.