org.globus.cog.karajan.parser
Class PeekableEnumeration

java.lang.Object
  extended by org.globus.cog.karajan.parser.PeekableEnumeration
All Implemented Interfaces:
Enumeration

public class PeekableEnumeration
extends Object
implements Enumeration


Constructor Summary
PeekableEnumeration(Enumeration enumeration)
           
 
Method Summary
 boolean hasMoreElements()
           
 Object nextElement()
           
 Object peek()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PeekableEnumeration

public PeekableEnumeration(Enumeration enumeration)
Method Detail

hasMoreElements

public boolean hasMoreElements()
Specified by:
hasMoreElements in interface Enumeration

nextElement

public Object nextElement()
Specified by:
nextElement in interface Enumeration

peek

public Object peek()