
org.leialearns.bridge.BaseNearIterable Maven / Gradle / Ivy
package org.leialearns.bridge;
import org.leialearns.utilities.Function;
import org.leialearns.utilities.TransformingIterable;
/**
* 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
© 2015 - 2025 Weber Informatics LLC | Privacy Policy