org.apache.lucene.analysis

Class CharacterUtils.CharacterBuffer

    • Method Detail

      • getBuffer

        public char[] getBuffer()
        Returns the internal buffer
        Returns:
        the buffer
      • getOffset

        public int getOffset()
        Returns the data offset in the internal buffer.
        Returns:
        the offset
      • getLength

        public int getLength()
        Return the length of the data in the internal buffer starting at getOffset()
        Returns:
        the length
      • reset

        public void reset()
        Resets the CharacterBuffer. All internals are reset to its default values.