Overview Package Class Tree Deprecated Index Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES All Classes
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

diva.util
Class CompoundIterator

java.lang.Object
 extended bydiva.util.CompoundIterator
All Implemented Interfaces:
java.util.Iterator

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

An iterator over two iterators.

Version:
$Id: CompoundIterator.java,v 1.10 2005年07月08日 19:55:16 cxh Exp $
Author:
John Reekie

Constructor Summary
CompoundIterator(java.util.Iterator first, java.util.Iterator second)
Create a new iterator
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

Constructor Detail

CompoundIterator

public CompoundIterator(java.util.Iterator first,
 java.util.Iterator second)
Create a new iterator

Method Detail

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

remove

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

Overview Package Class Tree Deprecated Index Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES All Classes
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

AltStyle によって変換されたページ (->オリジナル) /