Hacker News new | ask | show | jobs
by conwaysgame 3233 days ago
Note in Java8, you could just use:

ArrayList<Map<String,Object>> myArrayList = new ArrayList<>();

1 comments

The diamond operator is available since Java 7. Tripped me up too.