T - The type of the elementpublic class SingletonEnumeration<T>
extends java.lang.Object
implements java.util.Enumeration<T>
| Constructor and Description |
|---|
SingletonEnumeration(T element) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasMoreElements() |
T |
nextElement() |
public SingletonEnumeration(T element)