List interface iterator – listiterator
•
Java
Inherited from.
2 * 3 * 4 * 5 * 6 *, in]. Therefore, an iterator with a list length of N has (n + 1) possible cursor positions, such as *, which is always one more than a number.
Note: in terms of cursor position, the remove () and set () methods are not defined; These two methods are defined on the last element returned by the next () method or prvious () method.
- parameter type
The add method is not supported by the list iterator.
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码