CharArraySet
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 java.util.Set but does not behave like it should in all cases. The generic type is Set<Object>, because you can add any object to it, that has a string representation. The add methods will use Object.toString and store the result using a char[] buffer. The same behavior have the contains() methods. The .iterator returns an Iterator<char[]>.
Constructors
Functions
Add this char[] directly to the set. If ignoreCase is true for this Set, the text array will be directly modified. The user should never modify this text array after calling this method.
Add this CharSequence into the set
Add this String into the set
Returns an Iterator for char[] instances in this set.