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.
The CharArraySet..::..CharArraySetIterator type exposes the following members.
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
MoveNext | ||
NextCharArray | do not modify the returned char[] | |
Remove | ||
Reset | ||
ToString | (Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
Current | Returns the next String, as a Set<String> would...
use nextCharArray() for better efficiency.
| |
Enclosing_Instance |