Class LookAheadIterator<T>

java.lang.Object
com.sap.cds.services.impl.utils.LookAheadIterator<T>
All Implemented Interfaces:
Iterator<T>

public class LookAheadIterator<T> extends Object implements Iterator<T>
  • Constructor Details

    • LookAheadIterator

      public LookAheadIterator(Iterator<T> iter)
  • Method Details

    • hasNext

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

      public T next()
      Specified by:
      next in interface Iterator<T>
    • ahead

      public T ahead()