Quantcast
Channel: Initialization of an ArrayList in one line - Stack Overflow
Viewing all articles
Browse latest Browse all 37

Answer by George for Initialization of an ArrayList in one line

$
0
0
import com.google.common.collect.ImmutableList;....List<String> places = ImmutableList.of("Buenos Aires", "Córdoba", "La Plata");

Viewing all articles
Browse latest Browse all 37

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>