list的iterator的next()如果为空,并不返回NULL

list的iterator的next()如果为空,并不返回NULL

而是抛出NoSuchElementException

Leave a Comment

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.