Ordered feature for non-list objects [message #897811] |
Wed, 25 July 2012 05:33  |
Eclipse User |
|
|
|
Hi
I am working with Xcore and Xtext to develop a dsl. I'm converting between Xcore and Xtext. Suddenly I encountered the 'odered' and 'unordered' features on normal objects (like self defined classes and integers). My question is, what is the meaning of having an 'ordered' integer, or is it just something that can be left out?
Thanks.
|
|
|
Re: Ordered feature for non-list objects [message #897827 is a reply to message #897811] |
Wed, 25 July 2012 05:49  |
Eclipse User |
|
|
|
Wouter,
Ordered is not really used. In theory we could use it to produce a
Collection verses List, but we don't do that. It does declare that the
order in the list isn't meaningful, but that's not used anywhere (that I
know of).
On 25/07/2012 11:33 AM, Wouter Schaekers wrote:
> Hi
>
> I am working with Xcore and Xtext to develop a dsl. I'm converting
> between Xcore and Xtext. Suddenly I encountered the 'odered' and
> 'unordered' features on normal objects (like self defined classes and
> integers). My question is, what is the meaning of having an 'ordered'
> integer, or is it just something that can be left out?
>
> Thanks.
|
|
|
Powered by
FUDForum. Page generated in 0.04400 seconds