¡@

Home 

java Programming Glossary: integernode

Cannot create an array of LinkedLists in Java…?

http://stackoverflow.com/questions/217065/cannot-create-an-array-of-linkedlists-in-java

I have a declaration of the array as private LinkedList IntegerNode myMatrix And in my constructor for the SparseMatrix I try to.. the SparseMatrix I try to define myMatrix new LinkedList IntegerNode numRows The error I end up getting is Cannot create a generic.. up getting is Cannot create a generic array of LinkedList IntegerNode . So I have two issues with this 1 What am I doing wrong and..