Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.infinispan.commons.util;

Interface that provides semantics of a java.lang.Iterable and java.lang.AutoCloseable interfaces. This is useful when you have data that must be iterated on and may hold resources in the underlying implementation that must be closed.

The close method will close any existing iterators that may be open to free resources

Author(s):
wburns
Since:
7.0
public interface CloseableIterable<E> extends AutoCloseableIterable<E> {
   @Override
   void close();
   @Override
New to GrepCode? Check out our FAQ X