Constructor:
array = new ArrayList<LinkedList<String>>(size);
Trying to insert with this line:
array[index].add(value);
It return an error saying "The type of the expression must be an array type but it resolved to ArrayList<\LinkedList<\String>>"
I'm trying to insert a string into a linkedlist node in an array index using the add linkedlist method. Why isn't that line working?
*This is a hashmap implementation btw, an array of linked lists