Class Partitioned<T>

  • Type Parameters:
    T - Partitions value type
    All Implemented Interfaces:
    Iterable<List<T>>

    public final class Partitioned<T>
    extends IterableEnvelope<List<T>>
    Iterable implementation for partitioning functionality.
    Since:
    0.29
    • Constructor Detail

      • Partitioned

        @SafeVarargs
        public Partitioned​(int size,
                           T... items)
        Ctor.
        Parameters:
        size - The partitions size.
        items - The source items.
      • Partitioned

        public Partitioned​(int size,
                           Iterable<? extends T> iterable)
        Ctor.
        Parameters:
        size - The partitions size.
        iterable - The source Iterable.