Class ColognePhonetic.CologneOutputBuffer

    • Constructor Summary

      Constructors 
      Constructor Description
      CologneOutputBuffer​(int buffSize)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected char[] copyData​(int start, int length)  
      void put​(char code)
      Stores the next code in the output buffer, keeping track of the previous code.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • lastCode

        private char lastCode
    • Constructor Detail

      • CologneOutputBuffer

        public CologneOutputBuffer​(int buffSize)
    • Method Detail

      • 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.