|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectde.intarsys.tools.collection.EmptyEnumeration
public class EmptyEnumeration
An Enumeration without elements.
| Field Summary | |
|---|---|
static java.util.Enumeration |
UNIQUE
|
| Constructor Summary | |
|---|---|
protected |
EmptyEnumeration()
Create an emtpy enumeration |
| Method Summary | |
|---|---|
boolean |
hasMoreElements()
Return always false as an emtpy enumeration has no elements. |
java.lang.Object |
nextElement()
Throw always exception, as an empty enumeration has no elements. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.util.Enumeration UNIQUE
| Constructor Detail |
|---|
protected EmptyEnumeration()
| Method Detail |
|---|
public boolean hasMoreElements()
hasMoreElements in interface java.util.Enumerationpublic java.lang.Object nextElement()
nextElement in interface java.util.Enumerationjava.util.NoSuchElementException - Is thrown always
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||