import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;
import java.util.stream.Stream;

class Test1
{
    public static void main(Stream<Map.Entry<String, Long>> stream)
    {
        Stream<String> map = stream.map(Map.Entry::getKey);
    }

    public static void main(String[] args)
    {
        Map<String, Long> storage = new HashMap<>();
        storage.put("One", 1l);
        List<String> keys = storage
                .entrySet()
                .stream()
                .map(Map.Entry::getKey)
                .collect(Collectors.toList());
        keys.stream().forEach(System.out::println);
    }
}

@@ -14,129 +14,146 @@
 til.
-HashMap;%0Aimport java.util.List;%0Aimport java.util.Map;%0Aimport java.util.stream.Collectors;%0Aimport java.util.stream.Stream;
+*;%0Ainterface Stream%3CT%3E %7B%0A    %3CR%3E Stream%3CR%3E map(Function%3C? super T, ? extends R%3E mapper);%0A%7D%0A%0Ainterface Function%3CT, R%3E %7B%0A    R apply(T t);%0A%7D
 %0A%0Acl
@@ -309,375 +309,6 @@
  %7D%0A%0A
-    public static void main(String%5B%5D args)%0A    %7B%0A        Map%3CString, Long%3E storage = new HashMap%3C%3E();%0A        storage.put(%22One%22, 1l);%0A        List%3CString%3E keys = storage%0A                .entrySet()%0A                .stream()%0A                .map(Map.Entry::getKey)%0A                .collect(Collectors.toList());%0A        keys.stream().forEach(System.out::println);%0A    %7D%0A
 %7D%0A

fix testdata