@Test public void isDigraphTest() { assertDigraphTest(HIRAGANA_1, false); assertDigraphTest(HIRAGANA_2_BASE, false); assertDigraphTest(HIRAGANA_2_BASE_DIGRAPHS, true); assertDigraphTest(HIRAGANA_2_DAKUTEN, false); assertDigraphTest(HIRAGANA_2_DAKUTEN_DIGRAPHS, true); assertDigraphTest(HIRAGANA_3_BASE, false); assertDigraphTest(HIRAGANA_3_BASE_DIGRAPHS, true); assertDigraphTest(HIRAGANA_3_DAKUTEN, false); assertDigraphTest(HIRAGANA_3_DAKUTEN_DIGRAPHS, true); assertDigraphTest(HIRAGANA_4_BASE, false); assertDigraphTest(HIRAGANA_4_BASE_DIGRAPHS, true); assertDigraphTest(HIRAGANA_4_DAKUTEN, false); assertDigraphTest(HIRAGANA_4_DAKUTEN_DIGRAPHS, true); assertDigraphTest(HIRAGANA_5, false); assertDigraphTest(HIRAGANA_5_DIGRAPHS, true); assertDigraphTest(HIRAGANA_6_BASE, false); assertDigraphTest(HIRAGANA_6_BASE_DIGRAPHS, true); assertDigraphTest(HIRAGANA_6_DAKUTEN, false); assertDigraphTest(HIRAGANA_6_DAKUTEN_DIGRAPHS, true); assertDigraphTest(HIRAGANA_6_HANDAKUTEN, false); assertDigraphTest(HIRAGANA_6_HANDAKUTEN_DIGRAPHS, true); assertDigraphTest(HIRAGANA_7, false); assertDigraphTest(HIRAGANA_7_DIGRAPHS, true); assertDigraphTest(HIRAGANA_8, false); assertDigraphTest(HIRAGANA_8_DIGRAPHS, true); assertDigraphTest(HIRAGANA_9, false); assertDigraphTest(HIRAGANA_10_W_GROUP, false); assertDigraphTest(HIRAGANA_10_N_CONSONANT, false); assertDigraphTest(KATAKANA_1, false); assertDigraphTest(KATAKANA_2_BASE, false); assertDigraphTest(KATAKANA_2_BASE_DIGRAPHS, true); assertDigraphTest(KATAKANA_2_DAKUTEN, false); assertDigraphTest(KATAKANA_2_DAKUTEN_DIGRAPHS, true); assertDigraphTest(KATAKANA_3_BASE, false); assertDigraphTest(KATAKANA_3_BASE_DIGRAPHS, true); assertDigraphTest(KATAKANA_3_DAKUTEN, false); assertDigraphTest(KATAKANA_3_DAKUTEN_DIGRAPHS, true); assertDigraphTest(KATAKANA_4_BASE, false); assertDigraphTest(KATAKANA_4_BASE_DIGRAPHS, true); assertDigraphTest(KATAKANA_4_DAKUTEN, false); assertDigraphTest(KATAKANA_4_DAKUTEN_DIGRAPHS, true); assertDigraphTest(KATAKANA_5, false); assertDigraphTest(KATAKANA_5_DIGRAPHS, true); assertDigraphTest(KATAKANA_6_BASE, false); assertDigraphTest(KATAKANA_6_BASE_DIGRAPHS, true); assertDigraphTest(KATAKANA_6_DAKUTEN, false); assertDigraphTest(KATAKANA_6_DAKUTEN_DIGRAPHS, true); assertDigraphTest(KATAKANA_6_HANDAKUTEN, false); assertDigraphTest(KATAKANA_6_HANDAKUTEN_DIGRAPHS, true); assertDigraphTest(KATAKANA_7, false); assertDigraphTest(KATAKANA_7_DIGRAPHS, true); assertDigraphTest(KATAKANA_8, false); assertDigraphTest(KATAKANA_8_DIGRAPHS, true); assertDigraphTest(KATAKANA_9, false); assertDigraphTest(KATAKANA_10_W_GROUP, false); assertDigraphTest(KATAKANA_10_N_CONSONANT, false); }
public boolean isDigraph() { return kana.length() > 1; }
KanaQuestion extends Question { public boolean isDigraph() { return kana.length() > 1; } }
KanaQuestion extends Question { public boolean isDigraph() { return kana.length() > 1; } KanaQuestion(String kana, String romaji);   KanaQuestion(String kana, String romaji, Map<RomanizationSystem, String> altRomaji); }
KanaQuestion extends Question { public boolean isDigraph() { return kana.length() > 1; } KanaQuestion(String kana, String romaji);   KanaQuestion(String kana, String romaji, Map<RomanizationSystem, String> altRomaji); @Override ReferenceCell generateReference(Context context); boolean isDigraph(); boolean isDiacritic(); }
KanaQuestion extends Question { public boolean isDigraph() { return kana.length() > 1; } KanaQuestion(String kana, String romaji);   KanaQuestion(String kana, String romaji, Map<RomanizationSystem, String> altRomaji); @Override ReferenceCell generateReference(Context context); boolean isDigraph(); boolean isDiacritic();  }