How to create an array of a collection?

Posted by wizard@ on Stack Overflow See other posts from Stack Overflow or by wizard@
Published on 2010-06-07T19:51:19Z Indexed on 2010/06/07 20:02 UTC
Read the original article Hit count: 178

Filed under:
HashSet<Integer>[] rows = new HashSet<Integer>[9];

gives me a compilation error: generic array creation.

© Stack Overflow or respective owner

Related posts about java