Class ColognePhonetic.CologneOutputBuffer

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