lapisx.enum
Class MemoizedEnumeration
java.lang.Object
lapisx.enum.MemoizedEnumeration
- All Implemented Interfaces:
- Enumeration, RestartableEnumeration
- public class MemoizedEnumeration
- extends Object
- implements RestartableEnumeration
Enumeration which can be restarted from the beginning.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MemoizedEnumeration
public MemoizedEnumeration(Enumeration e)
MemoizedEnumeration
public MemoizedEnumeration(Vector v)
hasMoreElements
public boolean hasMoreElements()
- Specified by:
hasMoreElements
in interface Enumeration
nextElement
public Object nextElement()
- Specified by:
nextElement
in interface Enumeration
restart
public void restart()
- Specified by:
restart
in interface RestartableEnumeration