Serializable
, Comparable<AsyncIterator.End>
public static enum AsyncIterator.End extends Enum<AsyncIterator.End>
Enum Constant | Description |
---|---|
END |
Modifier and Type | Method | Description |
---|---|---|
static <T> Either<AsyncIterator.End,T> |
end() |
An
Either instance which contains the AsyncIterator.End enum. |
static <T> CompletionStage<Either<AsyncIterator.End,T>> |
endStage() |
A
CompletionStage which is already complete, and contains the end()
instance as its value. |
String |
toString() |
|
static AsyncIterator.End |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static AsyncIterator.End[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AsyncIterator.End END
public static AsyncIterator.End[] values()
for (AsyncIterator.End c : AsyncIterator.End.values()) System.out.println(c);
public static AsyncIterator.End 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 nullpublic static <T> Either<AsyncIterator.End,T> end()
Either
instance which contains the AsyncIterator.End
enum.Either
containing the AsyncIterator.End
instancepublic static <T> CompletionStage<Either<AsyncIterator.End,T>> endStage()
CompletionStage
which is already complete, and contains the end()
instance as its value.Either
containing the AsyncIterator.End
instancepublic String toString()
toString
in class Enum<AsyncIterator.End>
Copyright © 2018. All rights reserved.