Uses of Class
org.apache.lucene.util.CharsRef
Packages that use CharsRef
Package
Description
Some utility classes.
Finite state transducers
-
Uses of CharsRef in org.apache.lucene.util
Methods in org.apache.lucene.util that return CharsRefModifier and TypeMethodDescriptionCharsRef.clone()
Returns a shallow clone of this instance (the underlying characters are not copied and will be shared by both the returned object and this object.static CharsRef
CharsRef.deepCopyOf
(CharsRef other) Creates a new CharsRef that points to a copy of the chars fromother
Methods in org.apache.lucene.util that return types with arguments of type CharsRefModifier and TypeMethodDescriptionstatic Comparator<CharsRef>
CharsRef.getUTF16SortedAsUTF8Comparator()
Deprecated.This comparator is only a transition mechanismMethods in org.apache.lucene.util with parameters of type CharsRefModifier and TypeMethodDescriptionboolean
CharsRef.charsEquals
(CharsRef other) int
Signed int order comparisonvoid
Copies the givenCharsRef
referenced content into this instance.static CharsRef
CharsRef.deepCopyOf
(CharsRef other) Creates a new CharsRef that points to a copy of the chars fromother
static void
UnicodeUtil.UTF8toUTF16
(byte[] utf8, int offset, int length, CharsRef chars) Interprets the given byte array as UTF-8 and converts to UTF-16.static void
UnicodeUtil.UTF8toUTF16
(BytesRef bytesRef, CharsRef chars) Utility method forUnicodeUtil.UTF8toUTF16(byte[], int, int, CharsRef)
-
Uses of CharsRef in org.apache.lucene.util.fst
Methods in org.apache.lucene.util.fst that return CharsRefMethods in org.apache.lucene.util.fst with parameters of type CharsRefModifier and TypeMethodDescriptionCharSequenceOutputs.outputToString
(CharsRef output) void
CharSequenceOutputs.write
(CharsRef prefix, DataOutput out)