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

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

Introduction

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

The text is from its open source code.

Field

nullEMPTY_CHARS
An empty character array for convenience
intlength
Length of used characters.

Constructor

CharsRef()
Creates a new CharsRef initialized an empty array zero-length
CharsRef(int capacity)
Creates a new CharsRef initialized with an array of the given capacity
CharsRef(String string)
Creates a new CharsRef initialized with the given Strings character array
CharsRef(char[] chars, int offset, int length)
Creates a new CharsRef initialized with the given array, offset and length

Method