Package net.bytebuddy.agent.builder
Class AgentBuilder.RedefinitionStrategy.BatchAllocator.Slicing.SlicingIterable
java.lang.Object
net.bytebuddy.agent.builder.AgentBuilder.RedefinitionStrategy.BatchAllocator.Slicing.SlicingIterable
- 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.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static class
An iterator that slices batches into parts of a minimum and maximum size. -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
SlicingIterable
(int minimum, int maximum, Iterable<? extends List<Class<?>>> iterable) Creates a new slicing iterable. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
minimum
private final int minimumThe minimum size of any slice. -
maximum
private final int maximumThe maximum size of any slice. -
iterable
The delegate iterable.
-
-
Constructor Details
-
SlicingIterable
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