Created
September 19, 2020 03:45
-
-
Save brilianfird/9bd6f95d5e2c3816079612f2466f92dd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public SimpleStream<T> map(Function<T, T> function) { | |
List<T> returnValueList = new ArrayList<>(); | |
for (T value : values) { | |
returnValueList.add(value + " String"); | |
} | |
this.values = returnValueList; | |
return this; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment