public class SingleObjectEnumeration<T> extends Object implements 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 Enumeration<T>public T nextElement()
nextElement in interface Enumeration<T>public void remove()
UnsupportedOperationException - if the remove operation is not supported by
this Iterator.Copyright © 2013 intarsys consulting GmbH. All Rights Reserved.