OCLOperators at0
(Created page with "Get the objects at X where the first index is 0")
 
(Automatically adding template at the end of the page.)
 
(6 intermediate revisions by 4 users not shown)
Line 1: Line 1:
Get the objects at X where the first index is 0
=== at ( index : Integer ) : T ===
Returns the element of ''self'' at the *index* position.
 
'''Note! 0-based index.'''
{| class="wikitable"
!Expression
!Result
|-
|Sequence{'a', 'b'}->at(1)
|a
|}
[[Category:OCL Collection Operators]]
{{Edited|July|12|2024}}

Latest revision as of 15:41, 10 February 2024

at ( index : Integer ) : T

Returns the element of self at the *index* position.

Note! 0-based index.

Expression Result
Sequence{'a', 'b'}->at(1) a
This page was edited 91 days ago on 02/10/2024. What links here