[LineNumberReader]readline() 对 getLineNumber()的影响

读第0行之前,lineNumber是0,读完第0行后,lineNumber就变成了1

读第1行之前,lineNumber是1,读完第1行后,lineNumber就变成了2

………….

Leave a Comment

Your email address will not be published.

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