Class ArrayBackedNullSkippingIterator<E>

java.lang.Object
com.linkedin.venice.utils.collections.ArrayBackedNullSkippingIterator<E>
All Implemented Interfaces:
Iterator<E>

public class ArrayBackedNullSkippingIterator<E> extends Object
This iterator traverses the entire backing array, while skipping over null entries.
  • Constructor Details

    • ArrayBackedNullSkippingIterator

      public ArrayBackedNullSkippingIterator(E[] array)
  • Method Details

    • internalHasNext

      protected boolean internalHasNext()
    • internalNext

      protected E internalNext()
    • hasNext

      public boolean hasNext()
      Specified by:
      hasNext in interface Iterator<E>
    • next

      public E next()
      Specified by:
      next in interface Iterator<E>