Poseidon for UMLTM
  UMLdoc
 PREV  CLASSIFIER    NEXT  CLASSIFIER     FRAMES    NO FRAMES      
SUMMARY:   INNER | ATTR | ASSOC | CONSTR | METHOD     DETAIL:   INNER | ATTR | ASSOC | CONSTR | METHOD     DIAGRAMS:   COLLAB | SEQ | STATE | ACTIV

com.gentleware.poseidon.util

Class EnumerationEmpty

com.gentleware.poseidon.util.EnumerationEmpty

public class EnumerationEmpty


A enumeration that is always empty. Functially equivelant to:

(new Vector()).elements();

This is useful when you must pass or return an enumeration, but you do not have any elements.


 Association Summary
protected EnumerationEmpty  _theInstance
 
public EnumerationEmpty  enumerationEmpty
 
arrow_up
 

 Method Summary
public boolean   hasMoreElements()
 
public boolean   hasNext()
 
public Object   next()
 
public Object   nextElement()
 
public void   remove()
 
public static EnumerationEmpty   theInstance()
 
arrow_up
 

Tagged Values
static false
gentleware-imported-line-number 38
gentleware-imported-package-statement-line-number 24
 

 Association Detail

_theInstance

protected EnumerationEmpty _theInstance

arrow_up


enumerationEmpty

public EnumerationEmpty enumerationEmpty

arrow_up
 Method Detail

hasMoreElements

public boolean hasMoreElements()

Returns:
arrow_up


hasNext

public boolean hasNext()

Returns:
arrow_up


next

public Object next()

Returns:
arrow_up


nextElement

public Object nextElement()

Returns:
arrow_up


remove

public void remove()

arrow_up


theInstance

public static EnumerationEmpty theInstance()

Returns:
arrow_up
Created  2004 - 12 - 1

    Poseidon for UMLTM
  UMLdoc
 PREV  CLASSIFIER    NEXT  CLASSIFIER     FRAMES    NO FRAMES      
SUMMARY:   INNER | ATTR | ASSOC | CONSTR | METHOD     DETAIL:   INNER | ATTR | ASSOC | CONSTR | METHOD     DIAGRAMS:   COLLAB | SEQ | STATE | ACTIV

Generated with Poseidon for UMLTM.
Poseidon is a registered trademark of Gentleware AG in Germany, USA and other countries. Copyright 2003-2004 Gentleware AG, Schanzenstr. 70, 20357 Hamburg, Germany. All Rights Reserved.

UML is a trademark or registered trademark of Object Management Group, Inc. in the U.S. and other countries.