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

com.jnape.palatable.lambda.internal.iteration.RepetitiousIterator Maven / Gradle / Ivy

There is a newer version: 5.5.0
Show newest version
package com.jnape.palatable.lambda.internal.iteration;

public final class RepetitiousIterator extends InfiniteIterator {

    private final A value;

    public RepetitiousIterator(A value) {
        this.value = value;
    }

    @Override
    public A next() {
        return value;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy