Class LongBigListIterators.UnmodifiableBigListIterator

java.lang.Object
it.unimi.dsi.fastutil.longs.LongBigListIterators.UnmodifiableBigListIterator
All Implemented Interfaces:
it.unimi.dsi.fastutil.BidirectionalIterator<Long>, it.unimi.dsi.fastutil.BigListIterator<Long>, it.unimi.dsi.fastutil.longs.LongBidirectionalIterator, it.unimi.dsi.fastutil.longs.LongBigListIterator, it.unimi.dsi.fastutil.longs.LongIterator, it.unimi.dsi.fastutil.objects.ObjectBidirectionalIterator<Long>, it.unimi.dsi.fastutil.objects.ObjectIterator<Long>, Iterator<Long>, PrimitiveIterator<Long,LongConsumer>, PrimitiveIterator.OfLong
Enclosing class:
LongBigListIterators

public static class LongBigListIterators.UnmodifiableBigListIterator extends Object implements it.unimi.dsi.fastutil.longs.LongBigListIterator
An unmodifiable wrapper class for big list iterators.
  • Field Details

    • i

      protected final it.unimi.dsi.fastutil.longs.LongBigListIterator i
  • Constructor Details

    • UnmodifiableBigListIterator

      public UnmodifiableBigListIterator(it.unimi.dsi.fastutil.longs.LongBigListIterator i)
  • Method Details

    • hasNext

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

      public boolean hasPrevious()
      Specified by:
      hasPrevious in interface it.unimi.dsi.fastutil.BidirectionalIterator<Long>
    • nextLong

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

      public long previousLong()
      Specified by:
      previousLong in interface it.unimi.dsi.fastutil.longs.LongBidirectionalIterator
    • nextIndex

      public long nextIndex()
      Specified by:
      nextIndex in interface it.unimi.dsi.fastutil.BigListIterator<Long>
    • previousIndex

      public long previousIndex()
      Specified by:
      previousIndex in interface it.unimi.dsi.fastutil.BigListIterator<Long>
    • forEachRemaining

      public void forEachRemaining(LongConsumer action)
      Specified by:
      forEachRemaining in interface PrimitiveIterator<Long,LongConsumer>
      Specified by:
      forEachRemaining in interface PrimitiveIterator.OfLong
    • forEachRemaining

      @Deprecated public void forEachRemaining(Consumer<? super Long> action)
      Deprecated.
      Specified by:
      forEachRemaining in interface Iterator<Long>
      Specified by:
      forEachRemaining in interface it.unimi.dsi.fastutil.longs.LongIterator
      Specified by:
      forEachRemaining in interface PrimitiveIterator.OfLong