org.eclipse.emf.ecp.diffmerge.internal.context
Class CompareControls

java.lang.Object
  extended by org.eclipse.emf.ecp.diffmerge.internal.context.CompareControls

public final class CompareControls
extends Object

Class to compare Controls for equality.

Author:
Eugen Neufeld

Method Summary
static boolean areEqual(VControl left, VControl right)
          Compares to VControls.
static boolean areEqual(VDomainModelReference left, VDomainModelReference right)
          Compares to VDomainModelReferences by comparing all values.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

areEqual

public static boolean areEqual(VControl left,
                               VControl right)
Compares to VControls. This is just a convenience method which delegates to areEqual(VDomainModelReference, VDomainModelReference).

Parameters:
left - the first VControl to compare
right - the second VControl to compare
Returns:
true if all values of the VDomainModelReferences are equal

areEqual

public static boolean areEqual(VDomainModelReference left,
                               VDomainModelReference right)
Compares to VDomainModelReferences by comparing all values.

Parameters:
left - the first VDomainModelReference
right - the second VDomainModelReference
Returns:
true if all values of the VDomainModelReferences are equal


Copyright © 2014. All Rights Reserved.