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 06:01 Go to next message
John M. is currently offline John M.
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 06:20 Go to previous messageGo to next message
Ed Merks is currently offline Ed Merks
Messages: 26014
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>
Re: Why to use a Map when EKeys are possible? [message #939143 is a reply to message #938985] Wed, 10 October 2012 09:15 Go to previous message
John M. is currently offline John M.
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:[CDO] on Android
Goto Forum:
  


Current Time: Sun Aug 31 04:37:36 EDT 2014

Powered by FUDForum. Page generated in 0.05190 seconds