diff options
| author | Michael Williamson <mike@zwobble.org> | 2016-06-20 19:52:39 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2016-06-20 19:52:39 +0100 |
| commit | d5d691a5c27b63e65db39f37d47e863843cacd14 (patch) | |
| tree | 44a7d2234674d5848f47a38abcd12aa52faedf0d /Mammoth/Couscous | |
| parent | 577f3ed5d3dc1e9895288c8df8f1b8e55aad623e (diff) | |
Update java-mammoth to 0.0.3
Diffstat (limited to 'Mammoth/Couscous')
| -rw-r--r-- | Mammoth/Couscous/mammoth/internal/util/Lists.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Mammoth/Couscous/mammoth/internal/util/Lists.cs b/Mammoth/Couscous/mammoth/internal/util/Lists.cs index 18c14f3..9df31b7 100644 --- a/Mammoth/Couscous/mammoth/internal/util/Lists.cs +++ b/Mammoth/Couscous/mammoth/internal/util/Lists.cs @@ -20,7 +20,7 @@ namespace Mammoth.Couscous.org.zwobble.mammoth.@internal.util { return ToJava.ListToList(result); } - internal static List<U> eagerMap<T, U>(Iterable<T> iterable, BiFunction<int, T, U> function) { + internal static List<U> eagerMapWithIndex<T, U>(Iterable<T> iterable, BiFunction<int, T, U> function) { var result = FromJava.IterableToEnumerable(iterable) .Select((value, index) => function.apply(index, value)) .ToList(); |
