Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Why to use a Map when EKeys are possible?
Why to use a Map when EKeys are possible? [message #938966] Wed, 10 October 2012 10:01 Go to next message
John M. is currently offline John M.Friend
Messages: 198
Registered: July 2010
Senior Member
Hello,

I have a simple understanding question, why shall I use a Map, when I can EKeys instead of them.

Thanks for any hints. Smile
Re: Why to use a Map when EKeys are possible? [message #938985 is a reply to message #938966] Wed, 10 October 2012 10:20 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33140
Registered: July 2009
Senior Member
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Ask yourself, these questions:<br>
<ul>
<li>How do the generated APIs look different for each case?  </li>
<li>Which API do I want?</li>
</ul>
<br>
<div class="moz-cite-prefix">On 10/10/2012 12:01 PM, John M. wrote:<br>
</div>
<blockquote cite="mid:k53h1k$3kq$1@xxxxxxxxe.org" type="cite">Hello,
<br>
<br>
I have a simple understanding question, why shall I use a Map,
when I can EKeys instead of them.
<br>
<br>
Thanks for any hints. :)
<br>
</blockquote>
<br>
</body>
</html>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Why to use a Map when EKeys are possible? [message #939143 is a reply to message #938985] Wed, 10 October 2012 13:15 Go to previous message
John M. is currently offline John M.Friend
Messages: 198
Registered: July 2010
Senior Member
Yeah there are some differences. It is not so easy to check if a key is contained in the EKeys list and so on.
Thanks for your hints. Smile
Previous Topic:[Teneo] Adding EPackages Dynamically to DataStore
Next Topic:EMF Metrics Tooling
Goto Forum:
  


Current Time: Tue Apr 23 17:16:02 GMT 2024

Powered by FUDForum. Page generated in 0.03321 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top