Skip to content

Instantly share code, notes, and snippets.

@skydoves
Created February 17, 2026 01:14
Show Gist options
  • Select an option

  • Save skydoves/2f15a1be8295e204f9ba8b6995b6e5db to your computer and use it in GitHub Desktop.

Select an option

Save skydoves/2f15a1be8295e204f9ba8b6995b6e5db to your computer and use it in GitHub Desktop.
Decompiled Lambda - Anonymous Class Generation
Function1<Integer, Integer> lambda = new Function1<Integer, Integer>() {
@Override
public Integer invoke(Integer it) {
return it * 2;
}
};
int result = higherOrderExample(lambda);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment