org.jrdf.util
Interface ClosableIterable<T>

All Superinterfaces:
Iterable<T>
All Known Subinterfaces:
EvaluatedRelation, Relation
All Known Implementing Classes:
GraphRelationImpl, RelationDEE, RelationDUM, RelationImpl

public interface ClosableIterable<T>
extends Iterable<T>

An iterable that produces a closable iterator. Closable iterators should be closed after usage - to clean up any resources.


Method Summary
 ClosableIterator<T> iterator()
           
 

Method Detail

iterator

ClosableIterator<T> iterator()
Specified by:
iterator in interface Iterable<T>