Class AgentBuilder.RedefinitionStrategy.Collector.PrependableIterator

java.lang.Object
net.bytebuddy.agent.builder.AgentBuilder.RedefinitionStrategy.Collector.PrependableIterator
All Implemented Interfaces:
Iterator<List<Class<?>>>
Enclosing class:
AgentBuilder.RedefinitionStrategy.Collector

protected static class AgentBuilder.RedefinitionStrategy.Collector.PrependableIterator extends Object implements Iterator<List<Class<?>>>
An iterator that allows prepending of iterables to be applied previous to another iterator.
  • Field Details

    • current

      private Iterator<? extends List<Class<?>>> current
      The current iterator.
    • backlog

      private final List<Iterator<? extends List<Class<?>>>> backlog
      The backlog of iterators to apply.
  • Constructor Details

    • PrependableIterator

      protected PrependableIterator(Iterable<? extends List<Class<?>>> origin)
      Creates a new prependable iterator.
      Parameters:
      origin - The original iterable to begin with.
  • Method Details