Karla N
Results
1
issues of
Karla N
When using [Stream.toArray()](https://docs.oracle.com/javase/8/docs/api/java/util/stream/Stream.html#toArray-java.util.function.IntFunction-), a JavaSyntaxError is raised because it doesn't understand how to parse the .toArray(Object[]::new) call. example: ``` Person[] men = people.stream() .filter(p -> p.getGender() == MALE) .toArray(Person[]::new); ```