public class CompareViewUtil
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static boolean |
equal(CompareModel model,
oracle.javatools.compare.algorithm.sequence.SequenceCompareDifference block,
ContributorKind contributor1,
ContributorKind contributor2) |
static boolean |
isAddition(oracle.javatools.compare.algorithm.BaseCompareDifference difference,
ContributorKind firstContributor,
ContributorKind secondContributor,
CompareViewBias bias)
Utility that determines whether this difference block represents a logical
addition between the specified two contributors.
|
static boolean |
isRemoval(oracle.javatools.compare.algorithm.BaseCompareDifference difference,
ContributorKind firstContributor,
ContributorKind secondContributor,
CompareViewBias bias)
Utility that determines whether this difference block represents a logical
removal between the specified two contributors.
|
public static boolean equal(CompareModel model, oracle.javatools.compare.algorithm.sequence.SequenceCompareDifference block, ContributorKind contributor1, ContributorKind contributor2)
public static final boolean isAddition(oracle.javatools.compare.algorithm.BaseCompareDifference difference, ContributorKind firstContributor, ContributorKind secondContributor, CompareViewBias bias)
firstContributor
- the first contributor, a member of the
ContributorKind enumeration.secondContributor
- the second contributor, a member of the
ContributorKind enumeration.bias
- the modified contributor bias.public static final boolean isRemoval(oracle.javatools.compare.algorithm.BaseCompareDifference difference, ContributorKind firstContributor, ContributorKind secondContributor, CompareViewBias bias)
firstContributor
- the first contributor, a member of the
ContributorKind enumeration.secondContributor
- the second contributor, a member of the
ContributorKind enumeration.bias
- the modified contributor bias.