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