Interface ChangockIterator<T>

All Superinterfaces:
java.util.Iterator<T>
All Known Subinterfaces:
MongoChangeStreamCursorDecorator<T>, MongoCursorDecorator<T>
All Known Implementing Classes:
MongoChangeStreamCursorDecoratorImpl, MongoCursorDecoratorImpl

public interface ChangockIterator<T>
extends java.util.Iterator<T>
  • Method Summary

    Modifier and Type Method Description
    default void forEachRemaining​(java.util.function.Consumer<? super T> action)  
    java.util.Iterator<T> getImpl()  
    io.changock.driver.api.lock.guard.invoker.LockGuardInvoker getInvoker()  
    default boolean hasNext()  
    default T next()  
    default void remove()  
  • Method Details

    • getImpl

      java.util.Iterator<T> getImpl()
    • getInvoker

      io.changock.driver.api.lock.guard.invoker.LockGuardInvoker getInvoker()
    • hasNext

      default boolean hasNext()
      Specified by:
      hasNext in interface java.util.Iterator<T>
    • next

      default T next()
      Specified by:
      next in interface java.util.Iterator<T>
    • remove

      default void remove()
      Specified by:
      remove in interface java.util.Iterator<T>
    • forEachRemaining

      default void forEachRemaining​(java.util.function.Consumer<? super T> action)
      Specified by:
      forEachRemaining in interface java.util.Iterator<T>