Created
January 15, 2021 13:48
-
-
Save gyselph/ed12f3ae8b1e19333431536d0d3c1f80 to your computer and use it in GitHub Desktop.
Java 7 to 15: new Collections
This file contains 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
jshell> List<Integer> list = List.of(1, 2, 3, 4) | |
b ==> [1, 2, 3, 4] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment