Home > Back-end >  With which several iterators in Java, what is the difference between them?
With which several iterators in Java, what is the difference between them?

Time:10-10

CodePudding user response:

According to the interface type, should have two
Is a one-way iteration, can only go behind, cannot turn back, the Iterator interface
Is a bi-directional iteration, can go back, can you go back and a ListIterator interface
  • Related