Java org.apache.lucene.util CharsRefBuilder fields, constructors, methods, implement or subclass

Example usage for Java org.apache.lucene.util CharsRefBuilder fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.lucene.util CharsRefBuilder.

The text is from its open source code.

Constructor

CharsRefBuilder()
Sole constructor.

Method

CharsRefBuilderappend(CharSequence csq)
CharsRefBuilderappend(char c)
char[]chars()
Return a reference to the chars of this builder.
voidcopyUTF8Bytes(BytesRef bytes)
Copy the provided bytes, interpreted as UTF-8 bytes.
voidcopyUTF8Bytes(byte[] bytes, int offset, int length)
Copy the provided bytes, interpreted as UTF-8 bytes.
CharsRefget()
Return a CharsRef that points to the internal content of this builder.
voidgrow(int newLength)
Used to grow the reference array.
intlength()
Return the number of chars in this buffer.
voidsetCharAt(int offset, char b)
Set a char.
voidsetLength(int length)
Set the length.
CharsReftoCharsRef()
Build a new CharsRef that has the same content as this builder.
StringtoString()