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
Method Summary |
Label |
label()
The label of arc leading to the last returned successor. |
int |
nextInt()
The next integer returned by this iterator, or the special
marker if this iterator is exhausted. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
underlyingIterator
protected final LazyIntIterator underlyingIterator
ibs
protected final InputBitStream ibs
label
protected final Label label
from
protected final int from
BitStreamArcLabelledImmutableGraph.BitStreamLabelledArcIterator
public BitStreamArcLabelledImmutableGraph.BitStreamLabelledArcIterator(BitStreamArcLabelledImmutableGraph alg,
int x)
label
public Label label()
- Description copied from interface:
ArcLabelledNodeIterator.LabelledArcIterator
- The label of arc leading to the last returned successor.
- Specified by:
label
in interface ArcLabelledNodeIterator.LabelledArcIterator
- Returns:
- the label of arc leading to the last returned successor.
nextInt
public int nextInt()
- Description copied from interface:
LazyIntIterator
- The next integer returned by this iterator, or the special
marker if this iterator is exhausted.
- Specified by:
nextInt
in interface LazyIntIterator
- Returns:
- next integer returned by this iterator, or the special
marker if this iterator is exhausted.