harpoon.Util
Class NullEnumerator
java.lang.Object
|
+--harpoon.Util.NullEnumerator
- All Implemented Interfaces:
- Enumeration
Deprecated. Use harpoon.Util.Default.nullIterator instead.
- public class NullEnumerator
- extends Object
- implements Enumeration
A NullEnumerator
enumerates no elements.
- Version:
- $Id: NullEnumerator.java,v 1.3 2002/02/25 21:08:45 cananian Exp $
- Author:
- C. Scott Ananian <cananian@alumni.princeton.edu>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NullEnumerator
public NullEnumerator()
- Deprecated.
- Creates a
NullEnumerator
.
hasMoreElements
public boolean hasMoreElements()
- Deprecated.
- Specified by:
hasMoreElements
in interface Enumeration
- Returns:
false
nextElement
public Object nextElement()
- Deprecated.
- Specified by:
nextElement
in interface Enumeration
- Returns:
null