Package net.bytebuddy.agent.builder
Class AgentBuilder.RedefinitionStrategy.Collector.PrependableIterator
- java.lang.Object
-
- net.bytebuddy.agent.builder.AgentBuilder.RedefinitionStrategy.Collector.PrependableIterator
-
- All Implemented Interfaces:
java.util.Iterator<java.util.List<java.lang.Class<?>>>
- Enclosing class:
- AgentBuilder.RedefinitionStrategy.Collector
protected static class AgentBuilder.RedefinitionStrategy.Collector.PrependableIterator extends java.lang.Object implements java.util.Iterator<java.util.List<java.lang.Class<?>>>
An iterator that allows prepending of iterables to be applied previous to another iterator.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
PrependableIterator(java.lang.Iterable<? extends java.util.List<java.lang.Class<?>>> origin)
Creates a new prependable iterator.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasNext()
java.util.List<java.lang.Class<?>>
next()
void
prepend(java.lang.Iterable<? extends java.util.List<java.lang.Class<?>>> iterable)
Prepends an iterable to the backlog.void
remove()
-
-
-
Method Detail
-
prepend
public void prepend(java.lang.Iterable<? extends java.util.List<java.lang.Class<?>>> iterable)
Prepends an iterable to the backlog.- Parameters:
iterable
- The iterable to prepend.
-
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interfacejava.util.Iterator<java.util.List<java.lang.Class<?>>>
-
next
public java.util.List<java.lang.Class<?>> next()
- Specified by:
next
in interfacejava.util.Iterator<java.util.List<java.lang.Class<?>>>
-
remove
public void remove()
- Specified by:
remove
in interfacejava.util.Iterator<java.util.List<java.lang.Class<?>>>
-
-