| Enum Constant and Description |
|---|
LEARNING_STEP1 |
LEARNING_STEP2 |
RECOVERING |
RELEARNING |
REVIEWING |
| Modifier and Type | Method and Description |
|---|---|
Difficulty |
difficultyFor(double difference) |
abstract java.util.List<Difficulty> |
getDifficulties() |
abstract Move |
move(Difficulty difficulty,
Move previous) |
static CardState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CardState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CardState LEARNING_STEP1
public static final CardState LEARNING_STEP2
public static final CardState REVIEWING
public static final CardState RELEARNING
public static final CardState RECOVERING
public static CardState[] values()
for (CardState c : CardState.values()) System.out.println(c);
public static CardState valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic abstract java.util.List<Difficulty> getDifficulties()
public abstract Move move(Difficulty difficulty, Move previous)
public Difficulty difficultyFor(double difference)
Copyright © 2018. All Rights Reserved.