public enum SolutionType extends Enum<SolutionType>
Enum Constant and Description |
---|
BEST_PRACTICES
Enum value BestPractices.
|
DEEP_INVESTIGATION
Enum value DeepInvestigation.
|
QUICK_SOLUTION
Enum value QuickSolution.
|
Modifier and Type | Method and Description |
---|---|
static SolutionType |
fromString(String value)
Parses a serialized value to a SolutionType instance.
|
String |
toString() |
static SolutionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SolutionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SolutionType QUICK_SOLUTION
public static final SolutionType DEEP_INVESTIGATION
public static final SolutionType BEST_PRACTICES
public static SolutionType[] values()
for (SolutionType c : SolutionType.values()) System.out.println(c);
public static SolutionType 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 SolutionType fromString(String value)
value
- the serialized value to parse.public String toString()
toString
in class Enum<SolutionType>
Copyright © 2019. All rights reserved.