public enum EmptyIterator extends Enum<EmptyIterator> implements Iterator<Object>
| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
Object |
next() |
void |
remove() |
static EmptyIterator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EmptyIterator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EmptyIterator INSTANCE
public static EmptyIterator[] values()
for (EmptyIterator c : EmptyIterator.values()) System.out.println(c);
public static EmptyIterator valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullCopyright © 2010-2014. All Rights Reserved.