public enum PotentialRating extends Enum<PotentialRating>
Modifier and Type | Class and Description |
---|---|
static class |
PotentialRating.RatingScale |
Modifier and Type | Method and Description |
---|---|
static Rating<PotentialRating,PotentialRating.RatingScale> |
from(String s) |
static PotentialRating.RatingScale |
scale() |
static PotentialRating |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PotentialRating[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PotentialRating POOR
public static final PotentialRating FAIR
public static final PotentialRating AVERAGE
public static final PotentialRating GOOD
public static final PotentialRating BRILLIANT
public static PotentialRating[] values()
for (PotentialRating c : PotentialRating.values()) System.out.println(c);
public static PotentialRating 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 Rating<PotentialRating,PotentialRating.RatingScale> from(String s)
public static PotentialRating.RatingScale scale()
Copyright © 2015. All rights reserved.