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
| package main; | |
| import java.util.function.Supplier; | |
| public class Main { | |
| public static void main(String[] args) { | |
| Supplier<Object> o = once(Main::boostrap); | |
| System.out.println(o.get()); |
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
| package main; | |
| import java.lang.invoke.MethodHandle; | |
| import java.util.Objects; | |
| import static java.lang.invoke.MethodHandles.*; | |
| import static java.lang.invoke.MethodHandles.lookup; | |
| import static java.lang.invoke.MethodType.*; | |
| public class Main { |
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
| package main; | |
| import java.lang.invoke.MethodHandle; | |
| import java.lang.reflect.InvocationTargetException; | |
| import java.util.Objects; | |
| import static java.lang.invoke.MethodHandles.*; | |
| import static java.lang.invoke.MethodHandles.lookup; | |
| import static java.lang.invoke.MethodType.*; |
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
| diff -r c4b6f80981fd README.md | |
| --- a/README.md Tue Aug 06 14:37:03 2019 +0200 | |
| +++ b/README.md Tue Aug 06 14:49:23 2019 +0200 | |
| @@ -2,1 +2,1 @@ | |
| -Second Line | |
| \ No newline at end of file | |
| +Second Line |
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
| package arrayconveter; | |
| import static java.lang.invoke.MethodHandles.*; | |
| import static java.lang.invoke.MethodType.*; | |
| import java.lang.invoke.MethodHandle; | |
| import java.lang.invoke.MethodHandles; | |
| import java.util.HashMap; | |
| import java.util.Map; | |
| import java.util.Set; |