getEqualObject
Short summary
Searches an object that is equal to the provided object in terms of the compareTo method (or a comparator provided by the parent).
Return: TRUE when an object that is equal is found, otherwise FALSE
- Return type:
BOOL
Parameters
| Name | Type | Comment | Kind |
|---|---|---|---|
| object | CNM_AbstractObject.IObject | The object to search for | input |
| foundObject | CNM_AbstractObject.IObject | The found object or null if not found | output |
Code
Declaration
METHOD INTERNAL getEqualObject :BOOL
VAR_INPUT
(*The object to search for*)
object :CNM_AbstractObject.IObject;
END_VAR
VAR_OUTPUT
(*The found object or null if not found*)
foundObject :CNM_AbstractObject.IObject;
END_VAR