All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.infinispan.commons.util.CloseableIteratorSet Maven / Gradle / Ivy

There is a newer version: 15.1.0.Dev04
Show newest version
package org.infinispan.commons.util;

import java.util.Set;

/**
 * A set that defines an iterator method that returns a {@link org.infinispan.commons.util.CloseableIterator}
 * instead of a non closeable one.  This is needed so that iterators can be properly cleaned up.  All other
 * methods will internally clean up any iterators created and don't have other side effects.
 *
 * @author wburns
 * @since 7.0
 */
public interface CloseableIteratorSet extends Set, CloseableIteratorCollection {

   @Override
   CloseableSpliterator spliterator();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy