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

com.github.blahord.bettercollections.iterable.ReducibleIterable Maven / Gradle / Ivy

Go to download

An collection framework that eliminates some design flaws in Javas CollectionFramework.

There is a newer version: 1.1.0
Show newest version
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 iterator();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy