cannot emanate an array linkedlists java...?
i'm operative small settlement category needs an array linkedlist store values matrix. any component array (i.e. any linkedlist) represents quarrel matrix. and, any component linkedlist array represents buttress stored value.
in class, i have chapter array as:
private linkedlist<integernode>[] mymatrix;
and, constructor sparsematrix, i try define:
mymatrix = new linkedlist<integernode>[numrows];
the blunder i finish adult removing is
cannot emanate general array
linkedlist<integernode>.
so, i have twin issues this:
- what am i doing wrong, and
- why form tolerable chapter array can't created?
integernode category i have created. and, category files finished together.
Comments
Post a Comment