|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.oddjob.beancmpr.comparers.IterableComparison<T>
public class IterableComparison<T>
A Comparison
that is the result of comparing many things.
Constructor Summary | |
---|---|
IterableComparison(Iterable<? extends T> x,
Iterable<? extends T> y,
MultiItemComparisonCounts multiItemStats)
|
Method Summary | |
---|---|
int |
getBreaksCount()
|
int |
getComparedCount()
|
int |
getDifferentCount()
|
int |
getMatchedCount()
|
int |
getResult()
The result of the comparison. |
String |
getSummaryText()
Provide a brief summary of the comparison. |
Iterable<? extends T> |
getX()
Get the x of the comparison. |
int |
getXMissingCount()
|
Iterable<? extends T> |
getY()
Get the y of the comparison. |
int |
getYMissingCount()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IterableComparison(Iterable<? extends T> x, Iterable<? extends T> y, MultiItemComparisonCounts multiItemStats)
Method Detail |
---|
public Iterable<? extends T> getX()
Comparison
getX
in interface Comparison<Iterable<? extends T>>
public Iterable<? extends T> getY()
Comparison
getY
in interface Comparison<Iterable<? extends T>>
public int getResult()
Comparison
getResult
in interface Comparison<Iterable<? extends T>>
public String getSummaryText()
Comparison
If the comparison is equal then this should be the text representation of either of the original values. If the comparison is not equal then this should be a short description of the difference, e.g. 'Fred <> Jane'.
As a rule of thumb summary should be suitable for displaying in the column of a report or the cell of a spreadsheet.
getSummaryText
in interface Comparison<Iterable<? extends T>>
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 |