de.intarsys.tools.collection
public class SingleObjectEnumeration<T> extends java.lang.Object implements java.util.Enumeration<T>
Constructor and Description |
---|
SingleObjectEnumeration(T single)
EnumerationIterator constructor comment.
|
Modifier and Type | Method and Description |
---|---|
boolean |
hasMoreElements() |
T |
nextElement() |
void |
remove()
Removes from the underlying collection the last element returned by the
iterator (optional operation).
|
public SingleObjectEnumeration(T single)
single
- public boolean hasMoreElements()
hasMoreElements
in interface java.util.Enumeration<T>
public void remove()
java.lang.UnsupportedOperationException
- if the remove operation is not supported by
this Iterator.