|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.oddjob.beancmpr.matchables.OrderedMatchablesComparer
public class OrderedMatchablesComparer
Compares two Iterable
s of MatchableGroup
s.
Constructor Summary | |
---|---|
OrderedMatchablesComparer(org.oddjob.arooa.reflect.PropertyAccessor accessor,
BeanComparerProvider comparerProvider,
BeanCmprResultsHandler resultsHandler)
|
Method Summary | |
---|---|
IterableComparison<MatchableGroup> |
compare(Iterable<? extends MatchableGroup> x,
Iterable<? extends MatchableGroup> y)
Compare two things. |
BeanComparerProvider |
getDifferentiatorProvider()
|
BeanCmprResultsHandler |
getMatchProcessor()
|
MultiItemComparisonCounts |
getMultiItemComparisonStats()
|
Class<?> |
getType()
The type of the things. |
protected void |
groupMatch(MatchableGroup fromX,
MatchableGroup fromY)
Performs a match for two groups of Matchable s that are for
the same key. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OrderedMatchablesComparer(org.oddjob.arooa.reflect.PropertyAccessor accessor, BeanComparerProvider comparerProvider, BeanCmprResultsHandler resultsHandler)
Method Detail |
---|
public MultiItemComparisonCounts getMultiItemComparisonStats()
public IterableComparison<MatchableGroup> compare(Iterable<? extends MatchableGroup> x, Iterable<? extends MatchableGroup> y)
Comparer
compare
in interface Comparer<Iterable<? extends MatchableGroup>>
x
- One thing.y
- The other thing.
protected void groupMatch(MatchableGroup fromX, MatchableGroup fromY)
Matchable
s that are for
the same key.
fromX
- fromY
- public Class<?> getType()
Comparer
Note that we would have liked the return type
to be Class<T>
but we could not then have had a
Comparer<Iterable<MatchableGroup>>
because it's not possible to
return a type of Class<Iterable<MatchableGroup>>
in Java.
If there is a solution to this then please let us know.
getType
in interface Comparer<Iterable<? extends MatchableGroup>>
public BeanCmprResultsHandler getMatchProcessor()
public BeanComparerProvider getDifferentiatorProvider()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |