com.togethersoft.openapi.util.enum
Class EmptyEnumeration
- public final class EmptyEnumeration
- implements Enumeration, NullObject
This class presents always empty enumeration. It has private constructor
and can't to be instantiated or derived.
- Author:
- TogetherSoft
- Since: Together 4.0
- See Also: nullObject#NullObject
| Constructor Summary |
private | EmptyEnumeration() This class has private constructor and can't to be created by anyone |
ourInstance
private static Enumeration ourInstance
EmptyEnumeration
private EmptyEnumeration()
- This class has private constructor and can't to be created by anyone
getInstance
public static Enumeration getInstance()
- Returns: An empty enumeration. If enumeration does not exist, creates it.
hasMoreElements
public boolean hasMoreElements()
- Returns: Always
false
nextElement
public Object nextElement()
- Returns: Always
null
to Class java.util.Enumeration