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

    Modifier and Type Method Description
    Label label()
    The label of arc leading to the last returned successor.

    Methods inherited from interface it.unimi.dsi.webgraph.LazyIntIterator

    nextInt, skip
  • Method Details

    • label

      Label label()
      The label of arc leading to the last returned successor.
      Returns:
      the label of arc leading to the last returned successor.