org.jboss.managed.plugins.advice
Class WrapperIterator<T>
java.lang.Object
org.jboss.managed.plugins.advice.WrapperIterator<T>
- Type Parameters:
T - the interface
- All Implemented Interfaces:
- Iterator<T>
public class WrapperIterator<T>
- extends Object
- implements Iterator<T>
WrapperIterator.
- Version:
- $Revision: 1.1 $
- Author:
- Adrian Brock
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WrapperIterator
public WrapperIterator(Iterator<T> delegate,
Class<T> interfaceClass)
- Create a new WrapperIterator.
- Parameters:
delegate - the delegateinterfaceClass - the interface class
hasNext
public boolean hasNext()
- Specified by:
hasNext in interface Iterator<T>
next
public T next()
- Specified by:
next in interface Iterator<T>
remove
public void remove()
- Specified by:
remove in interface Iterator<T>
Copyright ? 2007 JBoss Inc.. All Rights Reserved.