| Package | Description |
|---|---|
| br.com.caelum.srs.model | |
| br.com.caelum.srs.service |
| Modifier and Type | Method and Description |
|---|---|
Difficulty |
CardState.difficultyFor(double difference) |
Difficulty |
CardAnswer.getDifficulty() |
static Difficulty |
Difficulty.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Difficulty[] |
Difficulty.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
abstract java.util.List<Difficulty> |
CardState.getDifficulties() |
| Modifier and Type | Method and Description |
|---|---|
CardAnswer |
Card.answer(Difficulty difficulty,
org.joda.time.DateTime lastCardFromToday,
AnswerKind answerKind) |
Move |
Move.move(Difficulty difficulty) |
Move |
Move.move(Difficulty difficulty,
int blackoutStreak) |
abstract Move |
CardState.move(Difficulty difficulty,
Move previous) |
long |
Card.nextIntervalInMinutes(Difficulty difficulty) |
| Constructor and Description |
|---|
CardAnswer(Card card,
Difficulty difficulty,
Move move,
AnswerKind answerKind) |
| Modifier and Type | Method and Description |
|---|---|
CardAnswer |
CardAnswerer.answer(SpacedRepetition repetition,
long userId,
Difficulty difficulty,
AnswerKind answerKind) |
Copyright © 2018. All Rights Reserved.