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 protectedPrependableIterator(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 booleanhasNext()java.util.List<java.lang.Class<?>>next()voidprepend(java.lang.Iterable<? extends java.util.List<java.lang.Class<?>>> iterable)Prepends an iterable to the backlog.voidremove()
-
-
-
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:
hasNextin interfacejava.util.Iterator<java.util.List<java.lang.Class<?>>>
-
next
public java.util.List<java.lang.Class<?>> next()
- Specified by:
nextin interfacejava.util.Iterator<java.util.List<java.lang.Class<?>>>
-
remove
public void remove()
- Specified by:
removein interfacejava.util.Iterator<java.util.List<java.lang.Class<?>>>
-
-