Class AbstractSuccinctDirectedGraph.CumulativeDegrees

java.lang.Object
org.jgrapht.sux4j.AbstractSuccinctDirectedGraph.CumulativeDegrees
All Implemented Interfaces:
it.unimi.dsi.fastutil.longs.LongIterator, Iterator<Long>, PrimitiveIterator<Long,LongConsumer>, PrimitiveIterator.OfLong
Enclosing class:
AbstractSuccinctDirectedGraph<E>

protected static final class AbstractSuccinctDirectedGraph.CumulativeDegrees extends Object implements it.unimi.dsi.fastutil.longs.LongIterator
Iterates over the cumulative degrees (starts with a zero).
  • Constructor Details

  • Method Details

    • hasNext

      public boolean hasNext()
      Specified by:
      hasNext in interface Iterator<Long>
    • nextLong

      public long nextLong()
      Specified by:
      nextLong in interface it.unimi.dsi.fastutil.longs.LongIterator
      Specified by:
      nextLong in interface PrimitiveIterator.OfLong