Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 369899

Summary: [xbase lib] IterableExtensions.index(Iterable,Function) : MultiMap
Product: [Modeling] TMF Reporter: Sven Efftinge <sven.efftinge>
Component: XtextAssignee: Project Inbox <tmf.xtext-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: enhancement    
Priority: P3 CC: sebastian.zarnekow
Version: 2.3.0   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Sven Efftinge CLA 2012-01-27 02:17:28 EST
An index function in IterableExtensions delegating to Guava's MultiMap.index seems to be a very useful addition.
Comment 1 Sebastian Zarnekow CLA 2012-01-27 07:52:58 EST
I'm not fond of that idea. It would be the first API where we leak guava dependencies and it's not too difficult to have an static extension import for Multimaps, would it? Maybe we can have something that returns a Map<K, Iterable<V>> ?
Comment 2 Sven Efftinge CLA 2012-01-27 07:58:57 EST
I don't think "leaking" guava is a problem (anymore).
Comment 3 Sven Efftinge CLA 2013-09-16 12:57:16 EDT
see comment #1
Comment 4 Eclipse Webmaster CLA 2017-10-31 11:24:01 EDT
Requested via bug 522520.

-M.