Namespace: Consultingwerk.Framework.Collections
Class 
CharacterDictionary Copy to Clipboard
Parent classes:
Inherits: Consultingwerk.Framework.Base.AblPrimitiveDictionary
Implements: Consultingwerk.Framework.Base.ISupportsListChanged, Consultingwerk.Framework.Base.ISupportsListHash

File:CharacterDictionary
Purpose:A general purpose Dictionary class with a Character as
the key and a Character as the value
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Sun Jan 22 14:33:52 CET 2012



Top Method Summary
Options Name Purpose
Add (character, character) Adds the specified key and value to the dictionary.
AddWhenNotContained (character, character) Adds the specified key and value to the dictionary only when it is not yet contained - silently ignores keys that are already contained
LOGICAL ContainsValue (character) Determines whether the Dictionary contains the specified value.
Consultingwerk.Framework.Collections.CharacterDictionaryEnumerator GetEnumerator () Returns the Enumerator for the Dictionary
CHARACTER GetValue (character) Returns the Value for the specified Key
SetValue (character, character) Assigns the Value for the specified Key

Top Constructor Summary
Options Name Purpose
CharacterDictionary () Constructor for the Dictionary class
CharacterDictionary (character) Constructor for the Dictionary class
CharacterDictionary (character, character) Constructor for the Dictionary class
CharacterDictionary (character, character, character, character) Constructor for the Dictionary class


Method Detail
Top

Add (character, character)

Purpose: Adds the specified key and value to the dictionary.
Notes: Throws an InvalidParameterValueException when the dictionary
already contains the key (ContainsKey (pcKey) = TRUE)

Parameters:
pcKey CHARACTER
The key for the key/value pair to add to the dictionary
pValue CHARACTER
The value for the key/value pair to add to the dictionary
Top

AddWhenNotContained (character, character)

Purpose: Adds the specified key and value to the dictionary only
when it is not yet contained - silently ignores keys that
are already contained
Notes: Throws an InvalidParameterValueException when the dictionary
already contains the key (ContainsKey (pcKey) = TRUE)

Parameters:
pcKey CHARACTER
The key for the key/value pair to add to the dictionary
pValue CHARACTER
The value for the key/value pair to add to the dictionary
Top

LOGICAL ContainsValue (character)

Purpose: Determines whether the Dictionary contains the specified value.
Notes:

Parameters:
pValue CHARACTER
The value to locate in the Dictionary
Returns LOGICAL
Logical value indicating if the value is contained in the Dictionary
Top

Consultingwerk.Framework.Collections.CharacterDictionaryEnumerator GetEnumerator ()

Purpose: Returns the Enumerator for the Dictionary
Notes:

Returns Consultingwerk.Framework.Collections.CharacterDictionaryEnumerator
The Enumerator instance
Top

CHARACTER GetValue (character)

Purpose: Returns the Value for the specified Key
Notes:

Parameters:
pcKey CHARACTER
The value to locate in the Dictionary
Returns CHARACTER
The value for the specified key
Top

SetValue (character, character)

Purpose: Assigns the Value for the specified Key
Notes:

Parameters:
pcKey CHARACTER
The value to locate in the Dictionary
pValue CHARACTER
The value to assign for the Key in the Dictionary


Constructor Detail
Top

CharacterDictionary ()

Purpose: Constructor for the Dictionary class
Notes:

Top

CharacterDictionary (character)

Purpose: Constructor for the Dictionary class
Notes:

Parameters:
pcDelimiter CHARACTER
The Delimiter to use for Keys and Values
Top

CharacterDictionary (character, character)

Purpose: Constructor for the Dictionary class
Notes: Defaults to the comma (",") as the delimiter for Keys and Values

Parameters:
pcKeys CHARACTER
The initial list of Keys
pcValues CHARACTER
The initial list of Values
Top

CharacterDictionary (character, character, character, character)

Purpose: Constructor for the Dictionary class
Notes:

Parameters:
pcKeys CHARACTER
The initial list of Keys
pcKeyDelimiter CHARACTER
The delimiter for the Keys
pcValues CHARACTER
The initial list of Values
pcValueDelimiter CHARACTER
The delimiter for the Values


©2006-2026 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       30.03.2026 11:04:12