Collection::Find
Section: ET++ method description (n)
Updated: automatically Fri Mar 1 10:57:30 1991
Index
Return to Main Contents
NAME
Collection::Find - instance method
TEMPLATE
foundObject = ObjPtr
Find(ObjPtr anObject)
SPECIFIERS
public
virtual
DESCRIPTION
If there is an element of the receiver equal to anObject,
this element is returned. Otherwise, 0 is returned.
It is not defined wether anElement->IsEqual(anObject)
or anObject->IsEqual(anElement) is evaluated to determine
equality.
For SeqCollections, the element with the least index is returned if
there are more than one element equal to anObject.
See also method FindPtr.
Method is rarely overridden.
ARGUMENTS
- ObjPtr anObject
-
RETURN ARGUMENT
- ObjPtr foundObject
-
CATEGORIES
accessing, client interface, overrider
interface
FIRST DEFINITION
class Collection
FILES
- implementation:
-
Collection.C
Index
- NAME
-
- TEMPLATE
-
- SPECIFIERS
-
- DESCRIPTION
-
- ARGUMENTS
-
- RETURN ARGUMENT
-
- CATEGORIES
-
- FIRST DEFINITION
-
- FILES
-
This document was created by
man2html,
using the manual pages.
Time: 00:40:31 GMT, March 30, 2022