Package it.unimi.dsi.big.io
Class FileLinesByteArrayCollection.FileLinesIterator
java.lang.Object
it.unimi.dsi.big.io.FileLinesByteArrayCollection.FileLinesIterator
- All Implemented Interfaces:
SafelyCloseable,Closeable,AutoCloseable,Iterator<byte[]>
- Enclosing class:
FileLinesByteArrayCollection
@Deprecated
public static final class FileLinesByteArrayCollection.FileLinesIterator
extends Object
implements Iterator<byte[]>, SafelyCloseable
Deprecated.
An iterator over the lines of a
FileLinesByteArrayCollection.
Instances of this class open an InputStream, and thus should be
closed after usage. A “safety-net” finaliser tries to
take care of the cases in which closing an instance is impossible. An exhausted iterator,
however, will be closed automagically.
-
Method Details
-
hasNext
public boolean hasNext()Deprecated. -
next
public byte[] next()Deprecated. -
close
public void close()Deprecated.- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-
finalize
Deprecated.
-
FileLinesByteArrayIterable.iterator(java.io.InputStream, Class, EnumSet); thezippedoption of this class can be simulated by passing aGZIPInputStreamas decompressor.