Class Endless<T>

  • Type Parameters:
    T - Element type
    All Implemented Interfaces:
    Iterable<T>

    public final class Endless<T>
    extends IterableEnvelope<T>
    Endless iterable.

    If you need to repeat certain amount of time, use Repeated.

    Since:
    0.4
    • Constructor Detail

      • Endless

        public Endless​(T item)
        Ctor.
        Parameters:
        item - The item to repeat