Method UnmodifiableSet
UnmodifiableSet(CharArraySet)
Returns an unmodifiable CharArraySet. This allows to provide unmodifiable views of internal sets for "read-only" use.
Declaration
public static CharArraySet UnmodifiableSet(CharArraySet set)
Parameters
Type | Name | Description |
---|---|---|
CharArraySet | set | a set for which the unmodifiable set is returned. |
Returns
Type | Description |
---|---|
CharArraySet | an new unmodifiable CharArraySet. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | if the given set is |