Class Rule.PhonemeList
- java.lang.Object
-
- org.apache.commons.codec.language.bm.Rule.PhonemeList
-
- All Implemented Interfaces:
Rule.PhonemeExpr
- Enclosing class:
- Rule
public static final class Rule.PhonemeList extends java.lang.Object implements Rule.PhonemeExpr
A list of phonemes.
-
-
Constructor Summary
Constructors Constructor Description PhonemeList(java.util.List<Rule.Phoneme> phonemes)
Constructs a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<Rule.Phoneme>
getPhonemes()
Gets an iteration of phonemes.int
size()
Gets the expression size in phonemes.
-
-
-
Constructor Detail
-
PhonemeList
public PhonemeList(java.util.List<Rule.Phoneme> phonemes)
Constructs a new instance.- Parameters:
phonemes
- the phoneme list.
-
-
Method Detail
-
getPhonemes
public java.util.List<Rule.Phoneme> getPhonemes()
Description copied from interface:Rule.PhonemeExpr
Gets an iteration of phonemes.- Specified by:
getPhonemes
in interfaceRule.PhonemeExpr
- Returns:
- an iteration of phonemes.
-
size
public int size()
Description copied from interface:Rule.PhonemeExpr
Gets the expression size in phonemes.- Specified by:
size
in interfaceRule.PhonemeExpr
- Returns:
- the expression size in phonemes.
-
-