Class ColognePhonetic.CologneBuffer

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

private abstract static class ColognePhonetic.CologneBuffer extends 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 Details

    • data

      protected final char[] data
    • length

      protected int length
  • Constructor Details

    • CologneBuffer

      protected CologneBuffer(char[] data)
    • CologneBuffer

      protected CologneBuffer(int buffSize)
  • Method Details

    • copyData

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

      boolean isEmpty()
    • length

      int length()
    • toString

      public String toString()
      Overrides:
      toString in class Object