Skip to content

Instantly share code, notes, and snippets.

@brilianfird
Created September 19, 2020 03:45
Show Gist options
  • Save brilianfird/9bd6f95d5e2c3816079612f2466f92dd to your computer and use it in GitHub Desktop.
Save brilianfird/9bd6f95d5e2c3816079612f2466f92dd to your computer and use it in GitHub Desktop.
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