Method | Description | |
---|---|---|
Add ( char c ) : void |
Adds character to the set.
|
|
Add ( string str ) : void |
Adds all characters contained in a specified string.
|
|
AddRange ( char first, char last ) : void |
Adds a range of characters to the set.
|
|
AddUsingMask ( string mask ) : void |
Adds characters matching given mask. The mask may contain single characters as well as intervals "a..b", where a, b are characters and a is less than or equal to b. There are no characters delimiting elements of the mask. If the mask is not valid as a whole its valid parts are processed. |
|
AddUsingMask ( string mask, string separator ) : void |
Adds characters using a mask with specified interval bounds separator.
|
|
AddUsingRegularMask ( string mask, int start, int end, char separator ) : void |
Adds character range given a regular-expression like mask. E.g. [a-zA-Z].
|
|
CharMap ( int size ) : System |
Creates a new instance of CharMap.
|
|
CharMap ( uint map ) : System |
Creates a new instance of CharMap based on specified map.
|
|
ClearAll ( ) : void |
Clears all bits in the map. Doesn't necessarily lead to clearing the whole map. Clears the map up to the last bit ever set. |
|
Contains ( char c ) : bool |
Retrieves whether a character belongs to the set.
|
|
Remove ( char c ) : void |
Removes character from the set.
|
|
RemoveRange ( char first, char last ) : void |
Removes a range of characters from the set.
|
|
ToString ( char first, char last, bool complement ) : string |
Accumulates all characters contained or not contained in the set to the string in ascending order.
|
public Add ( string str ) : void | ||
str | string | The string which characters to add. Can be a null reference. |
return | void |
public AddRange ( char first, char last ) : void | ||
first | char | The lower bound of the range. |
last | char | The upper bound of the range. |
return | void |
public AddUsingMask ( string mask ) : void | ||
mask | string | The mask of characters to be added. Any collection with items convertible to the |
return | void |
public AddUsingMask ( string mask, string separator ) : void | ||
mask | string | The mask. |
separator | string | The separator. |
return | void |
public AddUsingRegularMask ( string mask, int start, int end, char separator ) : void | ||
mask | string | The mask. |
start | int | An index of '[' character in the mask where the range starts. |
end | int | An index of the last character of the range. Usually the index of ']' character. |
separator | char | The separator character. Usually '-'. |
return | void |
public CharMap ( int size ) : System | ||
size | int | The number of characters to be mapped. |
return | System |
public CharMap ( uint map ) : System | ||
map | uint | The bits used for character map. |
return | System |
public Contains ( char c ) : bool | ||
c | char | The character to be tested. |
return | bool |
public Remove ( char c ) : void | ||
c | char | The character to be removed. |
return | void |
public RemoveRange ( char first, char last ) : void | ||
first | char | The lower bound of the range. |
last | char | The upper bound of the range. |
return | void |
public ToString ( char first, char last, bool complement ) : string | ||
first | char | The lower bound. |
last | char | The upper bound. |
complement | bool | Whether to return characters not contained in the string. |
return | string |