Last active
October 16, 2020 22:45
-
-
Save entzik/1fe90d4ace81d2eb3a601ee380a9956a to your computer and use it in GitHub Desktop.
This file contains hidden or 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 static <T, R> List<R> mapA(Function<T,R> function, List<T> list) { | |
return list.stream().map(t -> function.apply(t)).collect(Collectors.toList()); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment