uci.util
Class EnumerationEmpty
java.lang.Object
|
+--uci.util.EnumerationEmpty
- public class EnumerationEmpty
- extends Object
- implements Enumeration, Serializable
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.
- See Also:
uci.gef.DiagramElement#keysIn, Serialized Form
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
_theInstance
protected static EnumerationEmpty _theInstance
EnumerationEmpty
public EnumerationEmpty()
hasMoreElements
public boolean hasMoreElements()
- Specified by:
- hasMoreElements in interface Enumeration
nextElement
public Object nextElement()
- Specified by:
- nextElement in interface Enumeration
theInstance
public static EnumerationEmpty theInstance()