/** Convert the current cursor row to a flashcard object. */ private Flashcard cursorToFlashcard(Cursor c) { Flashcard fc = Flashcard.acquire(); fc.setID(c.getInt(0)); fc.setLang1Str(c.getString(1)); fc.setLang2Str(c.getString(2)); fc.setLevel(c.getInt(3)); fc.setRightGuessCount(c.getInt(4)); return fc; }