|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.archive.crawler.util.DiskFPMergeUriUniqFilter.DataFileLongIterator
public class DiskFPMergeUriUniqFilter.DataFileLongIterator
Field Summary | |
---|---|
(package private) java.io.DataInputStream |
in
|
(package private) long |
next
|
(package private) boolean |
nextIsValid
|
Constructor Summary | |
---|---|
DiskFPMergeUriUniqFilter.DataFileLongIterator(java.io.DataInputStream disStream)
Construct a long iterator reading from the given stream. |
Method Summary | |
---|---|
boolean |
hasNext()
Test whether any items remain; loads next item into holding 'next' field. |
protected boolean |
lookahead()
Check if there's a next by trying to read it. |
java.lang.Long |
next()
Return the next item. |
long |
nextLong()
|
void |
remove()
|
int |
skip(int arg0)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
java.io.DataInputStream in
long next
boolean nextIsValid
Constructor Detail |
---|
public DiskFPMergeUriUniqFilter.DataFileLongIterator(java.io.DataInputStream disStream)
disStream
- DataInputStream from which to read longsMethod Detail |
---|
public boolean hasNext()
hasNext
in interface java.util.Iterator<java.lang.Long>
Iterator.hasNext()
protected boolean lookahead()
public java.lang.Long next()
next
in interface java.util.Iterator<java.lang.Long>
Iterator.next()
public void remove()
remove
in interface java.util.Iterator<java.lang.Long>
public long nextLong()
nextLong
in interface it.unimi.dsi.fastutil.longs.LongIterator
public int skip(int arg0)
skip
in interface it.unimi.dsi.fastutil.longs.LongIterator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |