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 CharsRefCharsRef.deepCopyOf(CharsRef other) Creates a new CharsRef that points to a copy of the chars fromotherMethods 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 TypeMethodDescriptionbooleanCharsRef.charsEquals(CharsRef other) intSigned int order comparisonvoidCopies the givenCharsRefreferenced content into this instance.static CharsRefCharsRef.deepCopyOf(CharsRef other) Creates a new CharsRef that points to a copy of the chars fromotherstatic voidUnicodeUtil.UTF8toUTF16(byte[] utf8, int offset, int length, CharsRef chars) Interprets the given byte array as UTF-8 and converts to UTF-16.static voidUnicodeUtil.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) voidCharSequenceOutputs.write(CharsRef prefix, DataOutput out)