Skip to content

Instantly share code, notes, and snippets.

@popcornylu
Created June 4, 2016 16:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save popcornylu/d3d534d8e363e0cdecaa1ea7c19d06b4 to your computer and use it in GitHub Desktop.
Save popcornylu/d3d534d8e363e0cdecaa1ea7c19d06b4 to your computer and use it in GitHub Desktop.
Iterable transformation
import java.util.function.Function;
public class Iterables {
public static <F, T> Iterable<T> map(
Iterable<F> iterable,
Function<F, T> mapper)
{
return null;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment