org.eclipse.emf.emfstore.server
Interface ESCloseableIterable<T>

Type Parameters:
T - the type to iterate over
All Known Implementing Classes:
FileBasedOperationIterable, InMemoryOperationIterable

public interface ESCloseableIterable<T>

Represents an Iterable that must be closed after consumption. Note that a ESCloseableIterable is not an Iterable itself.

Since:
1.5
Author:
emueller

Method Summary
 void close()
          Closes this Iterable.
 Iterable<T> iterable()
          Returns an Iterable that can be iterated over.
 

Method Detail

close

void close()
Closes this Iterable.


iterable

Iterable<T> iterable()
Returns an Iterable that can be iterated over.

Returns:
an Iterable to iterate over


Copyright © 2016. All Rights Reserved.