SigPath

org.sigpath.util
Class CombiningIterator

java.lang.Object
  extended by org.sigpath.util.CombiningIterator
All Implemented Interfaces:
Iterator

public class CombiningIterator
extends Object
implements Iterator

This iterator appends two given iterators


Constructor Summary
CombiningIterator(Iterator newIterator1, Iterator newIterator2)
           
 
Method Summary
 boolean hasNext()
           
 Object next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CombiningIterator

public CombiningIterator(Iterator newIterator1,
                         Iterator newIterator2)
Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Iterator

next

public Object next()
Specified by:
next in interface Iterator

remove

public void remove()
Specified by:
remove in interface Iterator

SigPath

Copyright © 2002-2005 Institute for Computational Biomedicine, All Rights Reserved.