Package it.unimi.dsi.webgraph
Class AbstractLazyIntIterator
java.lang.Object
it.unimi.dsi.webgraph.AbstractLazyIntIterator
- All Implemented Interfaces:
LazyIntIterator
- Direct Known Subclasses:
BitStreamArcLabelledImmutableGraph.BitStreamLabelledArcIterator
,EFGraph.EliasFanoSuccessorReader
public abstract class AbstractLazyIntIterator extends Object implements LazyIntIterator
-
Constructor Summary
Constructors Constructor Description AbstractLazyIntIterator()
-
Method Summary
Modifier and Type Method Description int
skip(int n)
Skips a given number of elements.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface it.unimi.dsi.webgraph.LazyIntIterator
nextInt
-
Constructor Details
-
AbstractLazyIntIterator
public AbstractLazyIntIterator()
-
-
Method Details
-
skip
public int skip(int n)Description copied from interface:LazyIntIterator
Skips a given number of elements.- Specified by:
skip
in interfaceLazyIntIterator
- Parameters:
n
- the number of elements to skip.- Returns:
- the number of elements actually skipped (which might
be less than
n
if this iterator is exhausted).
-