Java org.apache.lucene.analysis CharArraySet fields, constructors, methods, implement or subclass

Example usage for Java org.apache.lucene.analysis CharArraySet fields, constructors, methods, implement or subclass

Introduction

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

The text is from its open source code.

Field

CharArraySetEMPTY_SET
An empty CharArraySet .

Constructor

CharArraySet(int startSize, boolean ignoreCase)
Create set with enough capacity to hold startSize terms
CharArraySet(Collection c, boolean ignoreCase)
Creates a set from a Collection of objects.

Method

booleanadd(Object o)
booleanadd(CharSequence text)
Add this CharSequence into the set
booleanadd(String text)
Add this String into the set
booleanadd(char[] text)
Add this char[] directly to the set.
voidclear()
Clears all entries in this set.
booleancontains(CharSequence cs)
true if the CharSequence is in the set
booleancontains(Object o)
CharArraySetcopy(final Set set)
Returns a copy of the given set as a CharArraySet .
Iteratoriterator()
Returns an Iterator for char[] instances in this set.
CharArraySetunmodifiableSet(CharArraySet set)
Returns an unmodifiable CharArraySet .