OCLOperators at0
(Replacing message template with parser tag)
No edit summary
Line 1: Line 1:
<message>Write the content here to display this box</message>
<message>Write the content here to display this box</message>
=== at ( index : Integer ) : T ===
=== at0 ( index : Integer ) : T ===
Returns the element of ''self'' at the *index* position.  
Returns the element of ''self'' at the *index* position.  


Line 8: Line 8:
!Result
!Result
|-
|-
|Sequence{'a', 'b'}->at(1)
|Sequence{'a', 'b'}->at0(1)
|a
|b
|}
|}
[[Category:OCL Collection Operators]]
[[Category:OCL Collection Operators]]
{{Edited|July|12|2024}}
{{Edited|July|12|2024}}

Revision as of 09:47, 2 October 2024

This page was created by Alexandra on 2017-08-13. Last edited by Edgar on 2025-01-20.

at0 ( index : Integer ) : T

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

Note! 0-based index.

Expression Result
Sequence{'a', 'b'}->at0(1) b