Package net.sf.okapi.common.annotation
Enum Note.Priority
- java.lang.Object
-
- java.lang.Enum<Note.Priority>
-
- net.sf.okapi.common.annotation.Note.Priority
-
- All Implemented Interfaces:
Serializable,Comparable<Note.Priority>
- Enclosing class:
- Note
public static enum Note.Priority extends Enum<Note.Priority>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Note.PriorityfromInt(int value)StringtoString()intvalue()static Note.PriorityvalueOf(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.
-
-
-
Enum Constant Detail
-
ONE
public static final Note.Priority ONE
-
TWO
public static final Note.Priority TWO
-
THREE
public static final Note.Priority THREE
-
FOUR
public static final Note.Priority FOUR
-
FIVE
public static final Note.Priority FIVE
-
SIX
public static final Note.Priority SIX
-
SEVEN
public static final Note.Priority SEVEN
-
EIGHT
public static final Note.Priority EIGHT
-
NINE
public static final Note.Priority NINE
-
TEN
public static final Note.Priority TEN
-
-
Method Detail
-
values
public static Note.Priority[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Note.Priority c : Note.Priority.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Note.Priority valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
value
public int value()
-
toString
public String toString()
- Overrides:
toStringin classEnum<Note.Priority>
-
fromInt
public static Note.Priority fromInt(int value)
-
-