ariba.util.core
Class IteratorUnion

java.lang.Object
  extended by ariba.util.core.IteratorUnion
All Implemented Interfaces:
java.util.Iterator

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

An enumeration that is the union of a list of enumerations.


Constructor Summary
IteratorUnion(java.util.Iterator[] enumerations)
          Create an enumeration of an array of enumeration in consecutive order, based on their index.
IteratorUnion(java.util.Iterator e1, java.util.Iterator e2)
          Create an enumeration of e1 followed by e2.
 
Method Summary
 boolean hasNext()
           
 java.lang.Object next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IteratorUnion

public IteratorUnion(java.util.Iterator e1,
                     java.util.Iterator e2)
Create an enumeration of e1 followed by e2.


IteratorUnion

public IteratorUnion(java.util.Iterator[] enumerations)
Create an enumeration of an array of enumeration in consecutive order, based on their index.

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


AribaWeb User Interface Development Framework
Copyright © 2000-2014 Ariba, Inc. All Rights Reserved.