public static enum Note.Priority extends Enum<Note.Priority>
| Enum Constant and Description |
|---|
EIGHT |
FIVE |
FOUR |
NINE |
ONE |
SEVEN |
SIX |
TEN |
THREE |
TWO |
| Modifier and Type | Method and Description |
|---|---|
static Note.Priority |
fromInt(int value) |
String |
toString() |
int |
value() |
static Note.Priority |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Note.Priority[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Note.Priority ONE
public static final Note.Priority TWO
public static final Note.Priority THREE
public static final Note.Priority FOUR
public static final Note.Priority FIVE
public static final Note.Priority SIX
public static final Note.Priority SEVEN
public static final Note.Priority EIGHT
public static final Note.Priority NINE
public static final Note.Priority TEN
public static Note.Priority[] values()
for (Note.Priority c : Note.Priority.values()) System.out.println(c);
public static Note.Priority 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 int value()
public String toString()
toString in class Enum<Note.Priority>public static Note.Priority fromInt(int value)
Copyright © 2022. All rights reserved.