Package it.unimi.dsi.webgraph.labelling
Class BitStreamArcLabelledImmutableGraph.BitStreamLabelledArcIterator
- java.lang.Object
-
- it.unimi.dsi.webgraph.AbstractLazyIntIterator
-
- it.unimi.dsi.webgraph.labelling.BitStreamArcLabelledImmutableGraph.BitStreamLabelledArcIterator
-
- All Implemented Interfaces:
ArcLabelledNodeIterator.LabelledArcIterator,LazyIntIterator
- Enclosing class:
- BitStreamArcLabelledImmutableGraph
protected static class BitStreamArcLabelledImmutableGraph.BitStreamLabelledArcIterator extends AbstractLazyIntIterator implements ArcLabelledNodeIterator.LabelledArcIterator
-
-
Field Summary
Fields Modifier and Type Field Description protected intfromprotected it.unimi.dsi.io.InputBitStreamibsprotected Labellabelprotected LazyIntIteratorunderlyingIterator
-
Constructor Summary
Constructors Constructor Description BitStreamLabelledArcIterator(BitStreamArcLabelledImmutableGraph alg, int x)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Labellabel()The label of arc leading to the last returned successor.intnextInt()The next integer returned by this iterator, or the special marker if this iterator is exhausted.-
Methods inherited from class it.unimi.dsi.webgraph.AbstractLazyIntIterator
skip
-
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
skip
-
-
-
-
Field Detail
-
underlyingIterator
protected final LazyIntIterator underlyingIterator
-
ibs
protected final it.unimi.dsi.io.InputBitStream ibs
-
label
protected final Label label
-
from
protected final int from
-
-
Constructor Detail
-
BitStreamLabelledArcIterator
public BitStreamLabelledArcIterator(BitStreamArcLabelledImmutableGraph alg, int x)
-
-
Method Detail
-
label
public Label label()
Description copied from interface:ArcLabelledNodeIterator.LabelledArcIteratorThe label of arc leading to the last returned successor.- Specified by:
labelin interfaceArcLabelledNodeIterator.LabelledArcIterator- Returns:
- the label of arc leading to the last returned successor.
-
nextInt
public int nextInt()
Description copied from interface:LazyIntIteratorThe next integer returned by this iterator, or the special marker if this iterator is exhausted.- Specified by:
nextIntin interfaceLazyIntIterator- Returns:
- next integer returned by this iterator, or the special marker if this iterator is exhausted.
-
-