|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<Score> com.kii.sdk.photocolle.Score
public enum Score
The type of 5 step evaluation score.
Enum Constant Summary | |
---|---|
SCORE_1
the lowest score |
|
SCORE_2
the low score |
|
SCORE_3
the middle score |
|
SCORE_4
the high score |
|
SCORE_5
the highest score |
Method Summary | |
---|---|
static Score |
fromInt(int number)
Get the score from int value. |
int |
getNumber()
Get number of type. |
static Score |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Score[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Score SCORE_1
public static final Score SCORE_2
public static final Score SCORE_3
public static final Score SCORE_4
public static final Score SCORE_5
Method Detail |
---|
public static Score[] values()
for (Score c : Score.values()) System.out.println(c);
public static Score valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic int getNumber()
public static Score fromInt(int number) throws ParameterException
number
- source of score.
ParameterException
- if this enum type has no constant with
the specified number.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |