Skip to content

Instantly share code, notes, and snippets.

@DeepSpawn
Last active September 19, 2016 21:46
Show Gist options
  • Save DeepSpawn/ce460667ca9863089def40782d7858c7 to your computer and use it in GitHub Desktop.
Save DeepSpawn/ce460667ca9863089def40782d7858c7 to your computer and use it in GitHub Desktop.
Function<Integer,Integer> add(int a){
return new Function<Integer,Integer>(){
@Override
public Integer apply(final Integer b) {
return a + b;
}
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment