com.github.blahord.bettercollections.iterable.ReducibleIterable Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bettercollections Show documentation
Show all versions of bettercollections Show documentation
An collection framework that eliminates some design flaws in Javas CollectionFramework.
package com.github.blahord.bettercollections.iterable;
import com.github.blahord.bettercollections.iterator.ReducibleIterator;
/**
* Interface for Iterables that give an ReducibleIterator
* It works like {@link java.lang.Iterable}
*
* @param The Type of the Iterable
* @see java.lang.Iterable
* @since 1.0
*/
public interface ReducibleIterable extends Iterable {
/**
* Returns an Iterator, that is able to remove elements
* It works like {@link java.lang.Iterable#iterator()}
*
* @return Iterator that can remove elements;
* @see java.lang.Iterable#iterator()
* @since 1.0
*/
@Override
ReducibleIterator extends OUT> iterator();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy