package rpi.goldsd.container; /** * The EmptyEnumeration class provides a default enumeration * that contains no elements. Currently, this class is used in the * Table class by the elements() method that expects * a single argument. * * @see Table * @version 1.0, 4/16/98 * @author David Goldschmidt */ public class EmptyEnumeration implements java.util.Enumeration { /** * Returns false to indicate no elements exist in this enumeration. * @return false to indicate no elements exist in this enumeration. */ public boolean hasMoreElements() { return false; } /** * Returns null. * @return null. */ public Object nextElement() { return null; } }