Class ColognePhonetic.CologneOutputBuffer
java.lang.Object
org.apache.commons.codec.language.ColognePhonetic.CologneBuffer
org.apache.commons.codec.language.ColognePhonetic.CologneOutputBuffer
- Enclosing class:
- ColognePhonetic
-
Field Summary
FieldsFields inherited from class org.apache.commons.codec.language.ColognePhonetic.CologneBuffer
data, length
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.commons.codec.language.ColognePhonetic.CologneBuffer
isEmpty, length, toString
-
Field Details
-
lastCode
private char lastCode
-
-
Constructor Details
-
CologneOutputBuffer
public CologneOutputBuffer(int buffSize)
-
-
Method Details
-
put
public void put(char code) Stores the next code in the output buffer, keeping track of the previous code. '0' is only stored if it is the first entry. Ignored chars are never stored. If the code is the same as the last code (whether stored or not) it is not stored.- Parameters:
code
- the code to store.
-
copyData
protected char[] copyData(int start, int length) - Specified by:
copyData
in classColognePhonetic.CologneBuffer
-