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

org.leialearns.bridge.BaseNearIterable Maven / Gradle / Ivy

package org.leialearns.bridge;

import org.leialearns.common.TransformingIterable;

import java.util.function.Function;

/**
 * Convenience class that can be used as a super class for classes that implement
 * {@link org.leialearns.bridge.NearIterable NearIterable}.
 * @param  The type of objects returned by the iterator
 */
public class BaseNearIterable extends TransformingIterable implements NearIterable {

    /**
     * Creates a new BaseNearIterable instance.
     * @param iterable The iterable that backs this instance
     * @param type The type of object returned by the iterator
     * @param function The function that converts objects returned by the backing iterable
     */
    public BaseNearIterable(Iterable iterable, Class type, Function function) {
        super(iterable, type, function);
    }

    public NT declareNearType() {
        throw new UnsupportedOperationException("");
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy