org.globus.cog.karajan.parser
Class PeekableEnumeration
java.lang.Object
org.globus.cog.karajan.parser.PeekableEnumeration
- All Implemented Interfaces:
- Enumeration
public class PeekableEnumeration
- extends Object
- implements Enumeration
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PeekableEnumeration
public PeekableEnumeration(Enumeration enumeration)
hasMoreElements
public boolean hasMoreElements()
- Specified by:
hasMoreElements
in interface Enumeration
nextElement
public Object nextElement()
- Specified by:
nextElement
in interface Enumeration
peek
public Object peek()