inline list java code example
Example 1: java instantiate collection with values
List integerArray = Arrays.asList(2, 41, 42, 48);
Example 2: initialise List>
List> list = new ArrayList>();
##or since Java 1.7
List> list = new ArrayList<>();