|
VBUMLAPI
1.0.0
UML API for Visual Basic
|
Provides the capabilities to compare two objects. More...
Inherited by ModelElementComparator.
Public Member Functions | |
| Function | compare (ByVal pValue1 As Object, ByVal pValue2 As Object) As Integer |
| Compares object1 with object2. | |
Provides the capabilities to compare two objects.
| Function Comparator::compare | ( | ByVal pValue1 As | Object, |
| ByVal pValue2 As | Object | ||
| ) |
Compares object1 with object2.
Comparation is delegated to implementation classes. The method must return 0 if the object1 is equal to object2, must return 1 if object1 is grather then object2, must return -1 if object1 is less then object2.
| [in] | pValue1 | Represents the object1 |
| [in] | pValue2 | Represents the object2 |
| Integer | The value representing the equality (-1, 0, 1) |