Created
May 20, 2019 23:22
-
-
Save rtyler/1984c7c9e62146b9a09aa82842523ea5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/home/tyler/source/github/jruby-gradle/redspark/src/main/java/com/github/jrubygradle/redspark/App.java:10: error: reference to filter is ambiguous | |
long numAs = logData.filter(s -> s.contains("a")).count(); | |
^ | |
both method filter(Function1<T,Object>) in Dataset and method filter(FilterFunction<T>) in Dataset match | |
where T is a type-variable: | |
T extends Object declared in class Dataset | |
/home/tyler/source/github/jruby-gradle/redspark/src/main/java/com/github/jrubygradle/redspark/App.java:11: error: reference to filter is ambiguous | |
long numBs = logData.filter(s -> s.contains("b")).count(); | |
^ | |
both method filter(Function1<T,Object>) in Dataset and method filter(FilterFunction<T>) in Dataset match | |
where T is a type-variable: | |
T extends Object declared in class Dataset | |
2 errors |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment