org.apache.maven.shared.runtime
Class CompositeEnumeration<T>
java.lang.Object
org.apache.maven.shared.runtime.CompositeEnumeration<T>
- Type Parameters:
T
- the element type of this enumeration
- All Implemented Interfaces:
- Enumeration<T>
public class CompositeEnumeration<T>
- extends Object
- implements Enumeration<T>
Enumeration that spans two other enumerations.
- Version:
- $Id: CompositeEnumeration.java 831910 2009-11-02 15:05:33Z markh $
- Author:
- Mark Hobson
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CompositeEnumeration
public CompositeEnumeration(Enumeration<T> enumeration1,
Enumeration<T> enumeration2)
hasMoreElements
public boolean hasMoreElements()
-
- Specified by:
hasMoreElements
in interface Enumeration<T>
nextElement
public T nextElement()
-
- Specified by:
nextElement
in interface Enumeration<T>
Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.