# Uses of Class
org.apache.lucene.analysis.CharArraySet

Packages that use CharArraySet
Package
Description
org.apache.lucene.analysis
Text analysis.
org.apache.lucene.analysis.standard
Fast, general-purpose grammar-based tokenizer `StandardTokenizer` implements the Word Break rules from the Unicode Text Segmentation algorithm, as specified in Unicode Standard Annex #29.

## Uses of CharArraySet in org.apache.lucene.analysis

Fields in org.apache.lucene.analysis declared as CharArraySet
Modifier and Type
Field
Description
`static final CharArraySet`
CharArraySet.`EMPTY_SET`
An empty `CharArraySet`.
`protected final CharArraySet`
StopwordAnalyzerBase.`stopwords`
An immutable stopword set
Methods in org.apache.lucene.analysis that return CharArraySet
Modifier and Type
Method
Description
`static CharArraySet`
CharArraySet.`copy(Set<?> set)`
Returns a copy of the given set as a `CharArraySet`.
`protected final CharArraySet`
AbstractAnalysisFactory.`getSnowballWordSet(ResourceLoader loader, String wordFiles, boolean ignoreCase)`
same as `AbstractAnalysisFactory.getWordSet(ResourceLoader, String, boolean)`, except the input is in snowball format.
`static CharArraySet`
WordlistLoader.`getSnowballWordSet(InputStream stream)`
Reads stopwords from a stopword list in Snowball format.
`static CharArraySet`
WordlistLoader.`getSnowballWordSet(InputStream stream, Charset charset)`
Reads stopwords from a stopword list in Snowball format.
`static CharArraySet`
WordlistLoader.`getSnowballWordSet(Reader reader)`
Reads stopwords from a stopword list in Snowball format.
`static CharArraySet`
WordlistLoader.`getSnowballWordSet(Reader reader, CharArraySet result)`
Reads stopwords from a stopword list in Snowball format.
`CharArraySet`
StopwordAnalyzerBase.`getStopwordSet()`
Returns the analyzer's stopword set or an empty set if the analyzer has no stopwords
`protected final CharArraySet`
AbstractAnalysisFactory.`getWordSet(ResourceLoader loader, String wordFiles, boolean ignoreCase)`
Returns as `CharArraySet` from wordFiles, which can be a comma-separated list of filenames
`static CharArraySet`
WordlistLoader.`getWordSet(InputStream stream)`
Reads lines from an InputStream with UTF-8 charset and adds every line as an entry to a CharArraySet (omitting leading and trailing whitespace).
`static CharArraySet`
WordlistLoader.`getWordSet(InputStream stream, String comment)`
Reads lines from an InputStream with UTF-8 charset and adds every non-comment line as an entry to a CharArraySet (omitting leading and trailing whitespace).
`static CharArraySet`
WordlistLoader.`getWordSet(InputStream stream, Charset charset)`
Reads lines from an InputStream with the given charset and adds every line as an entry to a CharArraySet (omitting leading and trailing whitespace).
`static CharArraySet`
WordlistLoader.`getWordSet(InputStream stream, Charset charset, String comment)`
Reads lines from an InputStream with the given charset and adds every non-comment line as an entry to a CharArraySet (omitting leading and trailing whitespace).
`static CharArraySet`
WordlistLoader.`getWordSet(Reader reader)`
Reads lines from a Reader and adds every line as an entry to a CharArraySet (omitting leading and trailing whitespace).
`static CharArraySet`
WordlistLoader.`getWordSet(Reader reader, String comment)`
Reads lines from a Reader and adds every non-comment line as an entry to a CharArraySet (omitting leading and trailing whitespace).
`static CharArraySet`
WordlistLoader.`getWordSet(Reader reader, String comment, CharArraySet result)`
Reads lines from a Reader and adds every non-blank non-comment line as an entry to a CharArraySet (omitting leading and trailing whitespace).
`static CharArraySet`
WordlistLoader.`getWordSet(Reader reader, CharArraySet result)`
Reads lines from a Reader and adds every non-blank line as an entry to a CharArraySet (omitting leading and trailing whitespace).
`final CharArraySet`
CharArrayMap.`keySet()`
Returns an `CharArraySet` view on the map's keys.
`protected static CharArraySet`
StopwordAnalyzerBase.`loadStopwordSet(Reader stopwords)`
Creates a CharArraySet from a file.
`protected static CharArraySet`
StopwordAnalyzerBase.`loadStopwordSet(Path stopwords)`
Creates a CharArraySet from a path.
`static CharArraySet`
StopFilter.`makeStopSet(String... stopWords)`
Builds a Set from an array of stop words, appropriate for passing into the StopFilter constructor.
`static CharArraySet`
StopFilter.`makeStopSet(String[] stopWords, boolean ignoreCase)`
Creates a stopword set from the given stopword array.
`static CharArraySet`
StopFilter.`makeStopSet(List<?> stopWords)`
Builds a Set from an array of stop words, appropriate for passing into the StopFilter constructor.
`static CharArraySet`
StopFilter.`makeStopSet(List<?> stopWords, boolean ignoreCase)`
Creates a stopword set from the given stopword list.
`static CharArraySet`
CharArraySet.`unmodifiableSet(CharArraySet set)`
Returns an unmodifiable `CharArraySet`.
Methods in org.apache.lucene.analysis with parameters of type CharArraySet
Modifier and Type
Method
Description
`static CharArraySet`
WordlistLoader.`getSnowballWordSet(Reader reader, CharArraySet result)`
Reads stopwords from a stopword list in Snowball format.
`static CharArraySet`
WordlistLoader.`getWordSet(Reader reader, String comment, CharArraySet result)`
Reads lines from a Reader and adds every non-blank non-comment line as an entry to a CharArraySet (omitting leading and trailing whitespace).
`static CharArraySet`
WordlistLoader.`getWordSet(Reader reader, CharArraySet result)`
Reads lines from a Reader and adds every non-blank line as an entry to a CharArraySet (omitting leading and trailing whitespace).
`static CharArraySet`
CharArraySet.`unmodifiableSet(CharArraySet set)`
Returns an unmodifiable `CharArraySet`.
Constructors in org.apache.lucene.analysis with parameters of type CharArraySet
Modifier
Constructor
Description
``
`StopFilter(TokenStream in, CharArraySet stopWords)`
Constructs a filter which removes words from the input TokenStream that are named in the Set.
`protected`
`StopwordAnalyzerBase(CharArraySet stopwords)`
Creates a new instance initialized with the given stopword set

## Uses of CharArraySet in org.apache.lucene.analysis.standard

Constructors in org.apache.lucene.analysis.standard with parameters of type CharArraySet
Modifier
Constructor
Description
``
`StandardAnalyzer(CharArraySet stopWords)`
Builds an analyzer with the given stop words.