You are currently viewing a snapshot of www.mozilla.org taken on April 21, 2008. Most of this content is highly out of date (some pages haven't been updated since the project began in 1998) and exists for historical purposes only. If there are any pages on this archive site that you think should be added back to www.mozilla.org, please file a bug.



All Packages  This Package  Class Hierarchy  Class Search  Index

Class SingleEnumeration

java.lang.Object
   |
   +----SingleEnumeration

An enumeration to return a single element.


public class  SingleEnumeration
     extends java.lang.Object
     implements java.util.Enumeration
{
          // Fields 2
     Object fElement;
     boolean fSpent;

          // Constructors 1
     public SingleEnumeration(Object);

          // Methods 2
     public boolean hasMoreElements();
     public Object nextElement() throws NoSuchElementException;
}



Fields


fElement

   Object fElement


fSpent

   boolean fSpent



Constructors


SingleEnumeration

   public SingleEnumeration(Object aElement) 



Methods


hasMoreElements

   public boolean hasMoreElements() 
Implements:
hasMoreElements in interface Enumeration


nextElement

   public Object nextElement()  throws NoSuchElementException
Implements:
nextElement in interface Enumeration


All Packages  This Package  Class Hierarchy  Class Search  Index
Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.4