Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 369899 - [xbase lib] IterableExtensions.index(Iterable,Function) : MultiMap
Summary: [xbase lib] IterableExtensions.index(Iterable,Function) : MultiMap
Status: CLOSED WONTFIX
Alias: None
Product: TMF
Classification: Modeling
Component: Xtext (show other bugs)
Version: 2.3.0   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-27 02:17 EST by Sven Efftinge CLA
Modified: 2017-10-31 11:24 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.