Created
February 17, 2026 01:14
-
-
Save skydoves/2f15a1be8295e204f9ba8b6995b6e5db to your computer and use it in GitHub Desktop.
Decompiled Lambda - Anonymous Class Generation
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
| 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