Class SupplierIterator<T>

java.lang.Object
org.ojalgo.type.function.SupplierIterator<T>
All Implemented Interfaces:
Iterator<T>

final class SupplierIterator<T> extends Object implements Iterator<T>
  • Field Details

    • myNext

      private transient T myNext
    • mySupplier

      private final AutoSupplier<T> mySupplier
  • Constructor Details

  • Method Details

    • hasNext

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

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