Interface IElementComparator
- All Known Implementing Classes:
BaseElementComparator,ValueFactElementComparator,ViolationFactElementComparator
public interface IElementComparator
- Author:
- POLARION SOFTWARE
-
Method Summary
Modifier and TypeMethodDescriptionbooleancompareContent(IBaseElement baseElement1, IBaseElement baseElement2) compareInstance compare if the elements points to same entity (for removed/added comparison) compareContent is called when compareInstance returns true to test if the elements content is the same or if the element is changedbooleancompareInstance(IBaseElement element1, IBaseElement element2) compareInstance compare if the elements points to same entity (for removed/added comparison) compareContent is called when compareInstance returns true to test if the elements content is the same or if the element is changedinthashCode(IBaseElement element) hash code for element to be consistent with compareInstance
-
Method Details
-
hashCode
hash code for element to be consistent with compareInstance -
compareInstance
compareInstance compare if the elements points to same entity (for removed/added comparison) compareContent is called when compareInstance returns true to test if the elements content is the same or if the element is changed -
compareContent
compareInstance compare if the elements points to same entity (for removed/added comparison) compareContent is called when compareInstance returns true to test if the elements content is the same or if the element is changed
-