Interface BooleanBigListIterator

All Superinterfaces:
it.unimi.dsi.fastutil.BidirectionalIterator<Boolean>, it.unimi.dsi.fastutil.BigListIterator<Boolean>, BooleanBidirectionalIterator, it.unimi.dsi.fastutil.booleans.BooleanIterator, Iterator<Boolean>, it.unimi.dsi.fastutil.objects.ObjectBidirectionalIterator<Boolean>, it.unimi.dsi.fastutil.objects.ObjectIterator<Boolean>, PrimitiveIterator<Boolean,it.unimi.dsi.fastutil.booleans.BooleanConsumer>

public interface BooleanBigListIterator extends BooleanBidirectionalIterator, it.unimi.dsi.fastutil.BigListIterator<Boolean>
A type-specific BigListIterator.
See Also:
  • BigListIterator
  • Nested Class Summary

    Nested classes/interfaces inherited from interface java.util.PrimitiveIterator

    PrimitiveIterator.OfDouble, PrimitiveIterator.OfInt, PrimitiveIterator.OfLong
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    add(boolean k)
    Inserts the specified element into the list (optional operation).
    default void
    Deprecated.
    Please use the corresponding type-specific method instead.
    default long
    back(long n)
    Moves back for the given number of elements.
    default void
    set(boolean k)
    Replaces the last element returned by next() or previous() with the specified element (optional operation).
    default void
    Deprecated.
    Please use the corresponding type-specific method instead.
    default int
    skip(int n)
    default long
    skip(long n)
    Skips the given number of elements.

    Methods inherited from interface it.unimi.dsi.fastutil.BidirectionalIterator

    hasPrevious

    Methods inherited from interface it.unimi.dsi.fastutil.BigListIterator

    nextIndex, previousIndex

    Methods inherited from interface it.unimi.dsi.fastutil.booleans.BooleanBidirectionalIterator

    back, previous, previousBoolean

    Methods inherited from interface it.unimi.dsi.fastutil.booleans.BooleanIterator

    forEachRemaining, forEachRemaining, next, nextBoolean

    Methods inherited from interface java.util.Iterator

    hasNext, remove
  • Method Details

    • set

      default void set(boolean k)
      Replaces the last element returned by next() or previous() with the specified element (optional operation).
      See Also:
    • add

      default void add(boolean k)
      Inserts the specified element into the list (optional operation).
      See Also:
    • set

      @Deprecated default void set(Boolean k)
      Deprecated.
      Please use the corresponding type-specific method instead.
      Replaces the last element returned by BooleanIterator.next() or BooleanBidirectionalIterator.previous() with the specified element (optional operation).
      Specified by:
      set in interface it.unimi.dsi.fastutil.BigListIterator<Boolean>
    • add

      @Deprecated default void add(Boolean k)
      Deprecated.
      Please use the corresponding type-specific method instead.
      Inserts the specified element into the list (optional operation).
      Specified by:
      add in interface it.unimi.dsi.fastutil.BigListIterator<Boolean>
    • skip

      default long skip(long n)
      Skips the given number of elements.

      The effect of this call is exactly the same as that of calling next() for n times (possibly stopping if Iterator.hasNext() becomes false).

      Parameters:
      n - the number of elements to skip.
      Returns:
      the number of elements actually skipped.
      See Also:
    • back

      default long back(long n)
      Moves back for the given number of elements.

      The effect of this call is exactly the same as that of calling previous() for n times (possibly stopping if BidirectionalIterator.hasPrevious() becomes false).

      Parameters:
      n - the number of elements to skip back.
      Returns:
      the number of elements actually skipped.
      See Also:
      • BidirectionalIterator.previous()
    • skip

      default int skip(int n)
      Specified by:
      skip in interface BooleanBidirectionalIterator
      Specified by:
      skip in interface it.unimi.dsi.fastutil.booleans.BooleanIterator
      Specified by:
      skip in interface it.unimi.dsi.fastutil.objects.ObjectBidirectionalIterator<Boolean>
      Specified by:
      skip in interface it.unimi.dsi.fastutil.objects.ObjectIterator<Boolean>