class DictionarySet

Dictionary Set. More...

Definition#include <dictionaryset.h>
Template formDictionarySet<templateclass K, class T>
InheritsDictionaryBag <K, T>
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Members


Detailed Description

This class implements the DictionarySet datatype template.

bool addHead (K key, T element)

Add element to head of set, if not already in set.

Parameters:
keyKey of element to be added.
elementElement to be added.

Returns: true, if element has been added; false, if not.

Reimplemented from DictionaryBag

bool addTail (K key, T element)

Add element to tail of set, if not already in set.

Parameters:
keyKey of element to be added.
elementElement to be added.

Returns: true, if element has been added; false, if not.

Reimplemented from DictionaryBag

bool add (K key, T element)

Add element to set, if not already in set.

Parameters:
keyKey of element to be added.
elementElement to be added.

Returns: true, if the element has been added; false, if not.