@Dependent public class CardAnswerer extends Object
| Constructor and Description |
|---|
CardAnswerer(CardDAO cards,
CardAnswerDAO answers) |
| Modifier and Type | Method and Description |
|---|---|
CardAnswer |
answer(SpacedRepetition repetition,
long userId,
Difficulty difficulty,
AnswerKind answerKind) |
CardAnswer |
answerFillTheBlank(SpacedRepetition repetition,
long userId,
List<String> acceptableAnswers,
String guess,
AnswerKind answerKind) |
@Inject public CardAnswerer(CardDAO cards, CardAnswerDAO answers)
public CardAnswer answerFillTheBlank(SpacedRepetition repetition, long userId, List<String> acceptableAnswers, String guess, AnswerKind answerKind)
public CardAnswer answer(SpacedRepetition repetition, long userId, Difficulty difficulty, AnswerKind answerKind)
Copyright © 2017. All Rights Reserved.