Skip to content

Commit e75ef5d

Browse files
authored
Create moreY.java
1 parent 30b8700 commit e75ef5d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Functional-1/moreY.java

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
public List<String> moreY(List<String> strings)
2+
{
3+
return strings.stream().map(n -> "y"+n+"y").collect(Collectors.toList());
4+
}

0 commit comments

Comments
 (0)