We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 36fc91c commit c81cee8Copy full SHA for c81cee8
src/main/java/graphql/util/FpKit.java
@@ -278,16 +278,6 @@ public static <T> List<List<T>> transposeMatrix(List<? extends List<T>> matrix)
278
return result;
279
}
280
281
- public static <T> CompletableFuture<List<T>> flatList(CompletableFuture<List<List<T>>> cf) {
282
- return cf.thenApply(FpKit::flatList);
283
- }
284
-
285
- public static <T> List<T> flatList(Collection<List<T>> listLists) {
286
- return listLists.stream()
287
- .flatMap(List::stream)
288
- .collect(ImmutableList.toImmutableList());
289
290
291
public static <T> Optional<T> findOne(Collection<T> list, Predicate<T> filter) {
292
for (T t : list) {
293
if (filter.test(t)) {
0 commit comments