Interface CloseableIterable<T>

Type Parameters:
T - type of elements of the iterator
All Known Subinterfaces:
AtomSet, CloseableIterableWithoutException<T>, ConjunctiveQuery, InMemoryAtomSet, UnionOfConjunctiveQueries
All Known Implementing Classes:
AbstractAtomSet, AbstractImmutableAtomSet, AbstractInMemoryAtomSet, CloseableIterableAdapter, DefaultConjunctiveQuery, DefaultInMemoryAtomSet, DefaultUnionOfConjunctiveQueries, LinkedListAtomSet

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 of this iterable.
  • Method Details

    • iterator

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