OCLOperators at
at ( index : Integer ) : T
Returns the element of self at the *index* position.
Note! The index is 1-based.
| Expression | Result |
|---|---|
| Sequence{'a', 'b'}->at(1) | a |
It returns the element from the collection at the specified index.
Example:
Department.allInstances->at(1)
Results:
