Namespace: Consultingwerk.Framework.Collections
Class 
CharacterList Copy to Clipboard
Parent classes:
Inherits: Consultingwerk.Framework.Base.AblPrimitiveList
Implements: Consultingwerk.Framework.Base.ISupportsListChanged, Consultingwerk.Framework.Base.ISupportsListHash
Inherited by: Consultingwerk.Framework.ServiceDefinitions

File:CharacterList
Purpose:A general purpose List 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) Adds the specified value to the List.
AddWhenNotContained (character) Adds the specified value to the List only when it is not yet contained - silently ignores keys that are already contained
LOGICAL ContainsValue (character) Determines whether the List contains the specified value.
Consultingwerk.Framework.Collections.CharacterListEnumerator GetEnumerator () Returns the Enumerator for the List
CHARACTER GetValue (integer) Returns the Value for the specified Key
INTEGER IndexOf (character) Returns the index of the given value in the list
Insert (character, integer) Inserts the specified value to the List at the specified position
SetValue (integer, character) Assigns the Value for the specified Key
CHARACTER ToArray () Returns an array with the elements of the list
CHARACTER ToDelimitedList () Returns the list as an delimited character list
CHARACTER ToDelimitedList (character) Returns the list as an delimited character list

Top Constructor Summary
Options Name Purpose
CharacterList () Constructor for the List class
CharacterList (longchar) Constructor for the List class
CharacterList (longchar, character) Constructor for the List class


Method Detail
Top

Add (character)

Purpose: Adds the specified value to the List.
Notes:

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

AddWhenNotContained (character)

Purpose: Adds the specified value to the List only when it is not
yet contained - silently ignores keys that are already
contained
Notes:

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

LOGICAL ContainsValue (character)

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

Parameters:
pValue CHARACTER
The value to locate in the List
Returns LOGICAL
Logical value indicating if the List contains the value
Top

Consultingwerk.Framework.Collections.CharacterListEnumerator GetEnumerator ()

Purpose: Returns the Enumerator for the List
Notes:

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

CHARACTER GetValue (integer)

Purpose: Returns the Value for the specified Key
Notes:

Parameters:
piIndex INTEGER
The index to remove from the List
Returns CHARACTER
The Value for the specified Index
Top

INTEGER IndexOf (character)

Purpose: Returns the index of the given value in the list
Notes: Returns 0 if the value is not in the list

Parameters:
pValue CHARACTER
The value to locate in the list
Returns INTEGER
The index of the given value in the list
Top

Insert (character, integer)

Purpose: Inserts the specified value to the List at the specified position
Notes:

Parameters:
pValue CHARACTER
The value for the key/value pair to add to the List
piPosition INTEGER
The position to add the new value to
Top

SetValue (integer, character)

Purpose: Assigns the Value for the specified Key
Notes:

Parameters:
piIndex INTEGER
The index to remove from the List
pValue CHARACTER
The value to assign for the Key in the List
Top

CHARACTER ToArray ()

Purpose: Returns an array with the elements of the list
Notes:

Returns CHARACTER
The array with the elements of the list
Top

CHARACTER ToDelimitedList ()

Purpose: Returns the list as an delimited character list
Notes:

Returns CHARACTER
The character value with the delimited list
Top

CHARACTER ToDelimitedList (character)

Purpose: Returns the list as an delimited character list
Notes:

Parameters:
pcDelimiter CHARACTER
The delimiter for the list
Returns CHARACTER
The character value with the delimited list


Constructor Detail
Top

CharacterList ()

Purpose: Constructor for the List class
Notes:

Top

CharacterList (longchar)

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

Parameters:
pcValues LONGCHAR
The initial list of Values
Top

CharacterList (longchar, character)

Purpose: Constructor for the List class
Notes:

Parameters:
pcValues LONGCHAR
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