Skip to content

Commit

Permalink
Fix return types on MapIterable.collect(Function2) overrides.
Browse files Browse the repository at this point in the history
  • Loading branch information
motlin committed Apr 22, 2016
1 parent 34f6277 commit f785b90
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
import org.eclipse.collections.api.list.primitive.LongList;
import org.eclipse.collections.api.list.primitive.ShortList;
import org.eclipse.collections.api.map.MapIterable;
import org.eclipse.collections.api.map.UnsortedMapIterable;
import org.eclipse.collections.api.multimap.list.ListMultimap;
import org.eclipse.collections.api.multimap.sortedset.SortedSetMultimap;
import org.eclipse.collections.api.ordered.ReversibleIterable;
Expand All @@ -59,6 +60,8 @@ public interface SortedMapIterable<K, V>

SortedMapIterable<K, V> reject(Predicate2<? super K, ? super V> predicate);

<K2, V2> UnsortedMapIterable<K2, V2> collect(Function2<? super K, ? super V, Pair<K2, V2>> function);

<R> SortedMapIterable<K, R> collectValues(Function2<? super K, ? super V, ? extends R> function);

SortedMapIterable<K, V> tap(Procedure<? super V> procedure);
Expand Down

0 comments on commit f785b90

Please sign in to comment.