Class DoubleMetaphone.DoubleMetaphoneResult
java.lang.Object
org.apache.commons.codec.language.DoubleMetaphone.DoubleMetaphoneResult
- Enclosing class:
- DoubleMetaphone
Stores results, since there is the optional alternate encoding.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidappend(char value) Appends the given value as primary and alternative.voidappend(char primary, char alternate) Appends the given primary and alternative values.voidAppends the given value as primary and alternative.voidAppends the given primary and alternative values.voidappendAlternate(char value) Appends the given value as alternative.voidappendAlternate(String value) Appends the given value as alternative.voidappendPrimary(char value) Appends the given value as primary.voidappendPrimary(String value) Appends the given value as primary.Gets the alternate string.Gets the primary string.booleanTests whether this result is complete.
- 
Constructor Details- 
DoubleMetaphoneResultConstructs a new instance.- Parameters:
- maxLength- The maximum length.
 
 
- 
- 
Method Details- 
appendAppends the given value as primary and alternative.- Parameters:
- value- The value to append.
 
- 
appendAppends the given primary and alternative values.- Parameters:
- primary- The primary value.
- alternate- The alternate value.
 
- 
appendAppends the given value as primary and alternative.- Parameters:
- value- The value to append.
 
- 
appendAppends the given primary and alternative values.- Parameters:
- primary- The primary value.
- alternate- The alternate value.
 
- 
appendAlternateAppends the given value as alternative.- Parameters:
- value- The value to append.
 
- 
appendAlternateAppends the given value as alternative.- Parameters:
- value- The value to append.
 
- 
appendPrimaryAppends the given value as primary.- Parameters:
- value- The value to append.
 
- 
appendPrimaryAppends the given value as primary.- Parameters:
- value- The value to append.
 
- 
getAlternateGets the alternate string.- Returns:
- the alternate string.
 
- 
getPrimaryGets the primary string.- Returns:
- the primary string.
 
- 
isCompleteTests whether this result is complete.- Returns:
- whether this result is complete.
 
 
-