A simple class that stores Strings as char[]'s in a hash table. Note that this is not a general purpose class. For example, it cannot remove items from the set, nor does it resize its hash table to be smaller, etc. It is designed to be quick to test if a char[] is in the set without the necessity of converting it to a String first.
Please note: This class implements {@link java.util.Set Set} butdoes not behave like it should in all cases. The generic type is {@code Set
A simple class that stores Strings as char[]'s in a hash table. Note that this is not a general purpose class. For example, it cannot remove items from the set, nor does it resize its hash table to be smaller, etc. It is designed to be quick to test if a char[] is in the set without the necessity of converting it to a String first.
You must specify the required {@link Version}compatibility when creating {@link CharArraySet}:
As of 3.1, supplementary characters are properly lowercased.
Before 3.1 supplementary characters could not be lowercased correctly due to the lack of Unicode 4 support in JDK 1.4. To use instances of {@link CharArraySet} with the behavior before Lucene3.1 pass a {@link Version} < 3.1 to the constructors.
Please note: This class implements {@link java.util.Set Set} butdoes not behave like it should in all cases. The generic type is {@code Set
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.