Class GroupChannel.InterceptorIterator
java.lang.Object
org.apache.catalina.tribes.group.GroupChannel.InterceptorIterator
- All Implemented Interfaces:
Iterator<ChannelInterceptor>
- Enclosing class:
GroupChannel
public static class GroupChannel.InterceptorIterator
extends Object
implements Iterator<ChannelInterceptor>
An iterator to loop through the interceptors in a channel.
-
Constructor Summary
ConstructorsConstructorDescriptionInterceptorIterator(ChannelInterceptor start, ChannelInterceptor end) Creates an InterceptorIterator. -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Iterator
forEachRemaining
-
Constructor Details
-
InterceptorIterator
Creates an InterceptorIterator.- Parameters:
start- The first interceptor to iterate fromend- The end marker interceptor (not included in iteration)
-
-
Method Details
-
hasNext
public boolean hasNext()- Specified by:
hasNextin interfaceIterator<ChannelInterceptor>
-
next
- Specified by:
nextin interfaceIterator<ChannelInterceptor>
-
remove
public void remove()- Specified by:
removein interfaceIterator<ChannelInterceptor>
-