package rpi.goldsd.container;

/**
 * The <tt>EmptyEnumeration</tt> class provides a default enumeration
 * that contains no elements.  Currently, this class is used in the
 * <tt>Table</tt> class by the <tt>elements()</tt> 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 <tt>false</tt> to indicate no elements exist in this enumeration.
   * @return <tt>false</tt> to indicate no elements exist in this enumeration.
   */
  public boolean hasMoreElements()  { return false; }


  /**
   * Returns <tt>null</tt>.
   * @return <tt>null</tt>.
   */
  public Object nextElement()  { return null; }
}

