Interface CloseableIterable<T>

Type Parameters:
T - type of elements of the iterator
All Known Subinterfaces:
CloseableIterableWithoutException<T>
All Known Implementing Classes:
CloseableIterableAdapter

public interface CloseableIterable<T>
Represents an iterable that provides closeable iterators.
Author:
Clément Sipieter (INRIA) <clement@6pi.fr>
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns a closeable iterator over the elements.
  • Method Details

    • iterator

      CloseableIterator<T> iterator()
      Returns a closeable iterator over the elements.
      Returns:
      the iterator