Created
June 1, 2018 16:41
-
-
Save harryhan24/19d8f1a4484054807d188ddcbac690aa 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 final void print(@NotNull Function2 body) { | |
| Intrinsics.checkParameterIsNotNull(body, "body"); | |
| Object result = body.invoke(1,2); //result 값은 1 | |
| System.out.println(result); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment