protected static enum AbstractIterator.State extends java.lang.Enum<AbstractIterator.State>
Enum Constant and Description |
---|
DONE
We have reached the end of the data and are finished.
|
FAILED
We've suffered an exception and are kaput.
|
NOT_READY
We haven't yet computed or have already returned the element.
|
READY
We have computed the next element and haven't returned it yet.
|
Modifier and Type | Method and Description |
---|---|
static AbstractIterator.State |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AbstractIterator.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AbstractIterator.State READY
public static final AbstractIterator.State NOT_READY
public static final AbstractIterator.State DONE
public static final AbstractIterator.State FAILED
public static AbstractIterator.State[] values()
for (AbstractIterator.State c : AbstractIterator.State.values()) System.out.println(c);
public static AbstractIterator.State valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright © 2017 The Apache Software Foundation