org.apache.commons.codec.language
Class ColognePhonetic.CologneBuffer

java.lang.Object
  extended by org.apache.commons.codec.language.ColognePhonetic.CologneBuffer
Direct Known Subclasses:
ColognePhonetic.CologneInputBuffer, ColognePhonetic.CologneOutputBuffer
Enclosing class:
ColognePhonetic

private abstract class ColognePhonetic.CologneBuffer
extends java.lang.Object

This class is not thread-safe; the field length is mutable. However, it is not shared between threads, as it is constructed on demand by the method ColognePhonetic.colognePhonetic(String)


Field Summary
protected  char[] data
           
protected  int length
           
 
Constructor Summary
ColognePhonetic.CologneBuffer(char[] data)
           
ColognePhonetic.CologneBuffer(int buffSize)
           
 
Method Summary
protected abstract  char[] copyData(int start, int length)
           
 int length()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

data

protected final char[] data

length

protected int length
Constructor Detail

ColognePhonetic.CologneBuffer

public ColognePhonetic.CologneBuffer(char[] data)

ColognePhonetic.CologneBuffer

public ColognePhonetic.CologneBuffer(int buffSize)
Method Detail

copyData

protected abstract char[] copyData(int start,
                                   int length)

length

public int length()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


commons-codec version 1.7-SNAPSHOT - Copyright © 2002-2013 - Apache Software Foundation