public static class HeapReader.entries extends LookAheadIterator<java.util.Map.Entry<byte[],byte[]>> implements CloneableIterator<java.util.Map.Entry<byte[],byte[]>>, java.util.Iterator<java.util.Map.Entry<byte[],byte[]>>, java.lang.Iterable<java.util.Map.Entry<byte[],byte[]>>
Modifier and Type | Field and Description |
---|---|
private java.io.File |
blobFile |
private java.io.DataInputStream |
is |
(package private) int |
keylen |
Constructor and Description |
---|
HeapReader.entries(java.io.File blobFile,
int keylen) |
Modifier and Type | Method and Description |
---|---|
CloneableIterator<java.util.Map.Entry<byte[],byte[]>> |
clone(java.lang.Object modifier)
clone the iterator using a modifier
the modifier can be i.e.
|
void |
close()
a CloneableIterator should be closed after usage to free resources
|
java.util.Map.Entry<byte[],byte[]> |
next0()
the internal next-method
|
hasNext, iterator, next, remove
private java.io.DataInputStream is
int keylen
private final java.io.File blobFile
public HeapReader.entries(java.io.File blobFile, int keylen) throws java.io.IOException
java.io.IOException
public CloneableIterator<java.util.Map.Entry<byte[],byte[]>> clone(java.lang.Object modifier)
CloneableIterator
clone
in interface CloneableIterator<java.util.Map.Entry<byte[],byte[]>>
public java.util.Map.Entry<byte[],byte[]> next0()
LookAheadIterator
next0
in class LookAheadIterator<java.util.Map.Entry<byte[],byte[]>>
public void close()
CloneableIterator
close
in interface CloneableIterator<java.util.Map.Entry<byte[],byte[]>>