public static final class Rule.Phoneme extends Object implements Rule.PhonemeExpr
| Modifier and Type | Field and Description | 
|---|---|
| static Comparator<Rule.Phoneme> | COMPARATOR | 
| Constructor and Description | 
|---|
| Phoneme(CharSequence phonemeText,
       Languages.LanguageSet languages) | 
| Phoneme(Rule.Phoneme phonemeLeft,
       Rule.Phoneme phonemeRight) | 
| Phoneme(Rule.Phoneme phonemeLeft,
       Rule.Phoneme phonemeRight,
       Languages.LanguageSet languages) | 
| Modifier and Type | Method and Description | 
|---|---|
| Rule.Phoneme | append(CharSequence str) | 
| Languages.LanguageSet | getLanguages() | 
| Iterable<Rule.Phoneme> | getPhonemes() | 
| CharSequence | getPhonemeText() | 
| Rule.Phoneme | mergeWithLanguage(Languages.LanguageSet lang)Returns a new Phoneme with the same text but a union of its
 current language set and the given one. | 
| String | toString()Returns a string representation of the object. | 
public static final Comparator<Rule.Phoneme> COMPARATOR
public Phoneme(CharSequence phonemeText, Languages.LanguageSet languages)
public Phoneme(Rule.Phoneme phonemeLeft, Rule.Phoneme phonemeRight)
public Phoneme(Rule.Phoneme phonemeLeft, Rule.Phoneme phonemeRight, Languages.LanguageSet languages)
public Rule.Phoneme append(CharSequence str)
public Languages.LanguageSet getLanguages()
public Iterable<Rule.Phoneme> getPhonemes()
getPhonemes in interface Rule.PhonemeExprpublic CharSequence getPhonemeText()
public Rule.Phoneme mergeWithLanguage(Languages.LanguageSet lang)
lang - the language set to mergepublic String toString()
ObjecttoString method returns a
 string that "textually represents" this object. The result should be a concise but informative
 representation that is easy for a person to read. It is recommended that all subclasses override
 this method.
 
 The toString method for class Object returns a string consisting of the name of
 the class of which the object is an instance, the at-sign character `@', and the unsigned
 hexadecimal representation of the hash code of the object. In other words, this method returns a
 string equal to the value of: 
getClass().getName() + '@' + Integer.toHexString(hashCode())