import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import static java.util.stream.Collectors.toList;
class Ideone {
public static void main
(String[] args
) { String[] sa
= {"ne",
"two",
"three"}; List
<String
> l
= Arrays.
stream(sa
) .
flatMap(s
-> Collections.
singleton(s
).
stream().
map(c
-> c.
toUpperCase())) .collect(toList());
}
}
aW1wb3J0IGphdmEudXRpbC5BcnJheXM7CmltcG9ydCBqYXZhLnV0aWwuQ29sbGVjdGlvbnM7CmltcG9ydCBqYXZhLnV0aWwuTGlzdDsKCmltcG9ydCBzdGF0aWMgamF2YS51dGlsLnN0cmVhbS5Db2xsZWN0b3JzLnRvTGlzdDsKCmNsYXNzIElkZW9uZSB7CgoJcHVibGljIHN0YXRpYyB2b2lkIG1haW4oU3RyaW5nW10gYXJncykgewoJCVN0cmluZ1tdIHNhID0geyJuZSIsICJ0d28iLCAidGhyZWUifTsKCQlMaXN0PFN0cmluZz4gbCA9IEFycmF5cy5zdHJlYW0oc2EpCgkJCQkuZmxhdE1hcChzIC0+IENvbGxlY3Rpb25zLnNpbmdsZXRvbihzKS5zdHJlYW0oKS5tYXAoYyAtPiBjLnRvVXBwZXJDYXNlKCkpKQoJCQkJLmNvbGxlY3QodG9MaXN0KCkpOwoJCVN5c3RlbS5vdXQucHJpbnRsbihsLmdldCgwKSk7Cgl9Cn0=