Class AgentBuilder.RedefinitionStrategy.BatchAllocator.Slicing.SlicingIterable

java.lang.Object
net.bytebuddy.agent.builder.AgentBuilder.RedefinitionStrategy.BatchAllocator.Slicing.SlicingIterable
All Implemented Interfaces:
Iterable<List<Class<?>>>
Enclosing class:
AgentBuilder.RedefinitionStrategy.BatchAllocator.Slicing

protected static class AgentBuilder.RedefinitionStrategy.BatchAllocator.Slicing.SlicingIterable extends Object implements Iterable<List<Class<?>>>
An iterable that slices batches into parts of a minimum and maximum size.
  • Field Details

    • minimum

      private final int minimum
      The minimum size of any slice.
    • maximum

      private final int maximum
      The maximum size of any slice.
    • iterable

      private final Iterable<? extends List<Class<?>>> iterable
      The delegate iterable.
  • Constructor Details

    • SlicingIterable

      protected SlicingIterable(int minimum, int maximum, Iterable<? extends List<Class<?>>> iterable)
      Creates a new slicing iterable.
      Parameters:
      minimum - The minimum size of any slice.
      maximum - The maximum size of any slice.
      iterable - The delegate iterable.
  • Method Details