On Thu, 29 Aug 2013 22:21:53 +0200, <Mickael Istria> wrote:

I may have missed something, but wouldn't the following implementationbe a 
valid solution?
public E[] getElements(I inputElement) {
   return inputElement.toArray(new E[inputElement.size()]);
}

new E[] is not compilable, as E is a generic type.

--
Kind regards,
Mit freundlichen Grüßen
Andrey Loskutov

+Andrey: http://plus.google.com/u/0/113794713998126448910
_______________________________________________
cross-project-issues-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev

Reply via email to