public class EmptyEnumeration extends Object implements Enumeration
| Modifier and Type | Field and Description |
|---|---|
static Enumeration |
UNIQUE |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasMoreElements()
Return always false as an emtpy enumeration has no elements.
|
Object |
nextElement()
Throw always exception, as an empty enumeration has no elements.
|
public static final Enumeration UNIQUE
public boolean hasMoreElements()
hasMoreElements in interface Enumerationpublic Object nextElement()
nextElement in interface EnumerationNoSuchElementException - Is thrown alwaysCopyright © 2013 intarsys consulting GmbH. All Rights Reserved.