|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.oddjob.beancmpr.matchables.ComparisonGatheringProcessor
public class ComparisonGatheringProcessor
A BeanCmprResultsHandler
that counts matches, before passing the result
onto a delegate.
Constructor Summary | |
---|---|
ComparisonGatheringProcessor(BeanCmprResultsHandler delegate)
|
Method Summary | |
---|---|
void |
compared(MultiValueComparison<Matchable> comparison)
Two Matchable s have been compared
by their keys. |
int |
getBreaksCount()
|
int |
getComparedCount()
|
int |
getDifferentCount()
|
int |
getMatchedCount()
|
int |
getXMissingCount()
|
int |
getYMissingCount()
|
void |
xMissing(MatchableGroup ys)
Data is missing from X. |
void |
yMissing(MatchableGroup xs)
Data is missing from Y. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ComparisonGatheringProcessor(BeanCmprResultsHandler delegate)
Method Detail |
---|
public void xMissing(MatchableGroup ys)
BeanCmprResultsHandler
xMissing
in interface BeanCmprResultsHandler
ys
- The y data.public void yMissing(MatchableGroup xs)
BeanCmprResultsHandler
yMissing
in interface BeanCmprResultsHandler
xs
- The x data.public void compared(MultiValueComparison<Matchable> comparison)
BeanCmprResultsHandler
Matchable
s have been compared
by their keys.
compared
in interface BeanCmprResultsHandler
comparison
- The result of the comparison.public int getXMissingCount()
getXMissingCount
in interface MultiItemComparisonCounts
public int getYMissingCount()
getYMissingCount
in interface MultiItemComparisonCounts
public int getMatchedCount()
getMatchedCount
in interface MultiItemComparisonCounts
public int getDifferentCount()
getDifferentCount
in interface MultiItemComparisonCounts
public int getBreaksCount()
getBreaksCount
in interface MultiItemComparisonCounts
public int getComparedCount()
getComparedCount
in interface MultiItemComparisonCounts
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |