3 ms·
And that JEP basically already exists in Guava https://code.google.com/p/guava-libraries/wiki/ImmutableCollectionsExplained https://code.google.com/p/guava-libr
by mhaymo 12y ago
And that JEP basically already exists in Guava https://code.google.com/p/guava-libraries/wiki/ImmutableCollectionsExplained https://code.google.com/p/guava-libraries/wiki/ImmutableColl...
`ImmutableList.of("a", "b", "c")` is not as concise as e.g. Python, but it's not bad.
- spullara 12y agoOnce you statically import the method, it is even more concise.