@Deprecated public enum Rating extends Enum<Rating>
Enum Constant and Description |
---|
BAN
Deprecated.
Ban (only if source=L).
|
LOVE
Deprecated.
Love (on any mode if the user has manually loved the track).
|
SKIP
Deprecated.
Skip (only if source=L)
|
Modifier and Type | Method and Description |
---|---|
String |
getCode()
Deprecated.
Returns the corresponding code for this rating.
|
static Rating |
valueOf(String name)
Deprecated.
Returns the enum constant of this type with the specified name.
|
static Rating[] |
values()
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Rating LOVE
public static final Rating BAN
public static Rating[] values()
for (Rating c : Rating.values()) System.out.println(c);
public static Rating 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 nullWebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses