it.unimi.dsi.webgraph.labelling
Interface ArcLabelledNodeIterator.LabelledArcIterator
- All Superinterfaces:
- LazyIntIterator
- All Known Implementing Classes:
- BitStreamArcLabelledImmutableGraph.BitStreamLabelledArcIterator
- Enclosing class:
- ArcLabelledNodeIterator
public static interface ArcLabelledNodeIterator.LabelledArcIterator
- extends LazyIntIterator
An iterator returning successor and the labels of the arcs toward them.
The label can be accessed through label()
, which must be called just after
advancing the iterator.
Warning: the returned label can be the same object
upon several calls to label()
; if you need to store it,
you should copy it.
Method Summary |
Label |
label()
The label of arc leading to the last returned successor. |
label
Label label()
- The label of arc leading to the last returned successor.
- Returns:
- the label of arc leading to the last returned successor.