|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectde.intarsys.tools.collection.SingleObjectEnumeration<T>
public class SingleObjectEnumeration<T>
An enumeration of a single object.
| Constructor Summary | |
|---|---|
SingleObjectEnumeration(T single)
EnumerationIterator constructor comment. |
|
| Method Summary | |
|---|---|
boolean |
hasMoreElements()
|
T |
nextElement()
|
void |
remove()
Removes from the underlying collection the last element returned by the iterator (optional operation). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SingleObjectEnumeration(T single)
single - | Method Detail |
|---|
public boolean hasMoreElements()
hasMoreElements in interface java.util.Enumeration<T>public T nextElement()
nextElement in interface java.util.Enumeration<T>public void remove()
java.lang.UnsupportedOperationException - if the remove operation is not supported by
this Iterator.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||