Timeline for What does List<Set<Integer>> mean?
Current License: CC BY-SA 3.0
8 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Dec 4, 2014 at 15:06 | vote | accept | Kingsta1993 | ||
| Dec 3, 2014 at 22:37 | comment | added | martijnn2008 | I don't think diamond operator is the way to go for beginners. But still you have a good point. ty btw :) | |
| Dec 3, 2014 at 22:31 | comment | added | yshavit | SO is a harsh master, @martijnn2008! :-P I'd +1'd Jerome because I just looked at the "answered" timestamp, not noticing the history/edit timestamps. So I just +1'd you, since you had the full answer first. But the diamond operator holds for your code, too. :) | |
| Dec 3, 2014 at 22:23 | comment | added | martijnn2008 | that is the very same as my example, and you get +4 and I only +1 :(. And I was quicker :/ | |
| Dec 3, 2014 at 22:21 | history | edited | Jerome Anthony | CC BY-SA 3.0 | edited to use java 7 diamon operator |
| Dec 3, 2014 at 22:14 | comment | added | yshavit | Note that in Java 7 and above you can use the "diamond operator" in the new statements: new HashSet<>() and new ArrayList<>(). | |
| Dec 3, 2014 at 22:04 | history | edited | Jerome Anthony | CC BY-SA 3.0 | added 369 characters in body |
| Dec 3, 2014 at 21:55 | history | answered | Jerome Anthony | CC BY-SA 3.0 |