private static final class DaitchMokotoffSoundex.Branch extends Object
Modifier and Type | Field and Description |
---|---|
private StringBuilder |
builder |
private String |
cachedString |
private String |
lastReplacement |
Modifier | Constructor and Description |
---|---|
private |
DaitchMokotoffSoundex.Branch() |
Modifier and Type | Method and Description |
---|---|
DaitchMokotoffSoundex.Branch |
createBranch()
Creates a new branch, identical to this branch.
|
boolean |
equals(Object other) |
void |
finish()
Finish this branch by appending '0's until the maximum code length has been reached.
|
int |
hashCode() |
void |
processNextReplacement(String replacement,
boolean forceAppend)
Process the next replacement to be added to this branch.
|
String |
toString() |
private final StringBuilder builder
private String cachedString
private String lastReplacement
public DaitchMokotoffSoundex.Branch createBranch()
public void finish()
public void processNextReplacement(String replacement, boolean forceAppend)
replacement
- the next replacement to appendforceAppend
- indicates if the default processing shall be overriddencommons-codec version 1.10 - Copyright © 2002-2015 - Apache Software Foundation