Class BitStreamArcLabelledImmutableGraph.BitStreamLabelledArcIterator
- java.lang.Object
-
- it.unimi.dsi.big.webgraph.AbstractLazyLongIterator
-
- it.unimi.dsi.big.webgraph.labelling.BitStreamArcLabelledImmutableGraph.BitStreamLabelledArcIterator
-
- All Implemented Interfaces:
ArcLabelledNodeIterator.LabelledArcIterator
,LazyLongIterator
- Enclosing class:
- BitStreamArcLabelledImmutableGraph
protected static class BitStreamArcLabelledImmutableGraph.BitStreamLabelledArcIterator extends AbstractLazyLongIterator implements ArcLabelledNodeIterator.LabelledArcIterator
-
-
Field Summary
Fields Modifier and Type Field Description protected long
from
protected it.unimi.dsi.io.InputBitStream
ibs
protected Label
label
protected LazyLongIterator
underlyingIterator
-
Constructor Summary
Constructors Constructor Description BitStreamLabelledArcIterator(BitStreamArcLabelledImmutableGraph alg, long x)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Label
label()
The label of arc leading to the last returned successor.long
nextLong()
The next long returned by this iterator, or the special marker if this iterator is exhausted.-
Methods inherited from class it.unimi.dsi.big.webgraph.AbstractLazyLongIterator
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.big.webgraph.LazyLongIterator
skip
-
-
-
-
Field Detail
-
underlyingIterator
protected final LazyLongIterator underlyingIterator
-
ibs
protected final it.unimi.dsi.io.InputBitStream ibs
-
label
protected final Label label
-
from
protected final long from
-
-
Constructor Detail
-
BitStreamLabelledArcIterator
public BitStreamLabelledArcIterator(BitStreamArcLabelledImmutableGraph alg, long x)
-
-
Method Detail
-
label
public Label label()
Description copied from interface:ArcLabelledNodeIterator.LabelledArcIterator
The label of arc leading to the last returned successor.- Specified by:
label
in interfaceArcLabelledNodeIterator.LabelledArcIterator
- Returns:
- the label of arc leading to the last returned successor.
-
nextLong
public long nextLong()
Description copied from interface:LazyLongIterator
The next long returned by this iterator, or the special marker if this iterator is exhausted.- Specified by:
nextLong
in interfaceLazyLongIterator
- Returns:
- next long returned by this iterator, or the special marker if this iterator is exhausted.
-
-