org.jboss.messaging.util
Class SelectiveIterator

java.lang.Object
  extended byorg.jboss.messaging.util.SelectiveIterator
All Implemented Interfaces:
java.util.Iterator

public class SelectiveIterator
extends java.lang.Object
implements java.util.Iterator

Version:
$Revision: 458 $ $Id: SelectiveIterator.java 458 2005-11-19 05:56:08Z ovidiu $
Author:
Ovidiu Feodorov

Field Summary
protected  java.util.Iterator delegate
           
protected  java.lang.Class excluded
           
protected  java.lang.Object next
           
 
Constructor Summary
SelectiveIterator(java.util.Iterator delegate, java.lang.Class excluded)
           
 
Method Summary
 boolean hasNext()
           
 java.lang.Object next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

delegate

protected java.util.Iterator delegate

next

protected java.lang.Object next

excluded

protected java.lang.Class excluded
Constructor Detail

SelectiveIterator

public SelectiveIterator(java.util.Iterator delegate,
                         java.lang.Class excluded)
Method Detail

remove

public void remove()
Specified by:
remove in interface java.util.Iterator

hasNext

public boolean hasNext()
Specified by:
hasNext in interface java.util.Iterator

next

public java.lang.Object next()
Specified by:
next in interface java.util.Iterator


Copyright © 2006 JBoss Inc. All Rights Reserved.