com.hankcs.hanlp.corpus.io
类 IOUtil.LineIterator
java.lang.Object
com.hankcs.hanlp.corpus.io.IOUtil.LineIterator
- 所有已实现的接口:
- Iterator<String>
- 包容类:
- IOUtil
public static class IOUtil.LineIterator
- extends Object
- implements Iterator<String>
方便读取按行读取大文件
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IOUtil.LineIterator
public IOUtil.LineIterator(String path)
close
public void close()
hasNext
public boolean hasNext()
- 指定者:
- 接口
Iterator<String> 中的 hasNext
next
public String next()
- 指定者:
- 接口
Iterator<String> 中的 next
remove
public void remove()
- 指定者:
- 接口
Iterator<String> 中的 remove
Copyright © 2014–2015 码农场. All rights reserved.