public static enum ProtocolFinder.Result extends Enum<ProtocolFinder.Result>
Enum Constant and Description |
---|
FOUND |
NEED_MORE_DATA |
NOT_FOUND |
Modifier and Type | Method and Description |
---|---|
static ProtocolFinder.Result |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProtocolFinder.Result[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProtocolFinder.Result FOUND
public static final ProtocolFinder.Result NOT_FOUND
public static final ProtocolFinder.Result NEED_MORE_DATA
public static ProtocolFinder.Result[] values()
for (ProtocolFinder.Result c : ProtocolFinder.Result.values()) System.out.println(c);
public static ProtocolFinder.Result 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 © 2015 Oracle Corporation. All rights reserved.