E
E
Evgeny Kolman2016-12-24 09:04:47
Java
Evgeny Kolman, 2016-12-24 09:04:47

How to fill a List container with a ListIterator?

I decided to deal with the ListIterator interface. But that's not the problem! Everything works fine if the container is initially full, except that " it.previous().id() " doesn't work, but what if the container is empty and needs to be filled with a ListIterator?
If possible, then a small example of filling.
Thank you in advance for your response!

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question