blob: df394913646e443423633c79bd67bc197a5845e7 [file] [log] [blame]
import java.util.List;
import java.util.stream.Collectors;
import java.util.stream.Stream;
class Box<T>
{
public T getValue()
{
return null;
}
void f(Stream<Box<String>> stream) {
List<String> l3 = stream
.map(Box<String>::getValue)
.collect(Collectors.toList());
}
}