I wanted to create a list of options for testing purposes. At first, I did this:
ArrayList places = new ArrayList(); places.add(\
About the most compact way to do this is:
Double array[] = { 1.0, 2.0, 3.0}; List list = Arrays.asList(array);