Skip to main content
added 5 characters in body
Source Link
Subhrajyoti Majumder
  • 41.3k
  • 13
  • 84
  • 103

I think it isIt looks like it's not problem with key it is problem with value part. You can not add new Node<E> this as a Value. It must have specific type like new Node<String>() or new Node<Integer>().

I think it is not problem with key it is problem with value part. You can not add new Node<E> this as a Value. It must have specific type like new Node<String>() or new Node<Integer>().

It looks like it's not problem with key it is problem with value part. You can not add new Node<E> this as a Value. It must have specific type like new Node<String>() or new Node<Integer>().

Source Link
Subhrajyoti Majumder
  • 41.3k
  • 13
  • 84
  • 103

I think it is not problem with key it is problem with value part. You can not add new Node<E> this as a Value. It must have specific type like new Node<String>() or new Node<Integer>().