Returns an immutable map whose keys are the distinct elements of this FluentIterable and whose value for each key was computed by valueFunction. The map's iteration order is the order of the first appearance of each key in this iterable. When there are multiple instances of a key
(Function<? super E, V> valueFunction)
| 719 | |
| 720 | |
| 721 | public final <V> ImmutableMap<E, V> toMap(Function<? super E, V> valueFunction) { |
| 722 | return Maps.toMap(iterable, valueFunction); |
| 723 | } |
| 724 | |
| 725 | /** |
| 726 | * Creates an index {@code ImmutableListMultimap} that contains the results of applying a |