Class WordDelimiterGraphFilter.WordDelimiterConcatenation
- java.lang.Object
-
- org.apache.lucene.analysis.miscellaneous.WordDelimiterGraphFilter.WordDelimiterConcatenation
-
- Enclosing class:
- WordDelimiterGraphFilter
final class WordDelimiterGraphFilter.WordDelimiterConcatenation extends java.lang.Object
A WDF concatenated 'run'
-
-
Constructor Summary
Constructors Constructor Description WordDelimiterConcatenation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) void
append(char[] text, int offset, int length)
Appends the given text of the given length, to the concetenation at the given offset(package private) void
clear()
Clears the concatenation and resets its state(package private) boolean
isEmpty()
Determines if the concatenation is empty(package private) boolean
isNotEmpty()
(package private) void
write()
Writes the concatenation to part buffer
-
-
-
Method Detail
-
append
void append(char[] text, int offset, int length)
Appends the given text of the given length, to the concetenation at the given offset- Parameters:
text
- Text to appendoffset
- Offset in the concetenation to add the textlength
- Length of the text to append
-
write
void write()
Writes the concatenation to part buffer
-
isEmpty
boolean isEmpty()
Determines if the concatenation is empty- Returns:
true
if the concatenation is empty,false
otherwise
-
isNotEmpty
boolean isNotEmpty()
-
clear
void clear()
Clears the concatenation and resets its state
-
-