Interface ISet<T>
- Namespace
- AlgorithmsSW.Set
- Assembly
- AlgorithmsSW.dll
This is a test. A link to
- @ISet{T}
- @ISet`1
- @ISet\`1
- ISet
public interface ISet<T> : IEnumerable<T>, IEnumerable
Type Parameters
T
The type of the items in the set.
- Inherited Members
- Extension Methods
Properties
Comparer
Gets the comparer used to compare items.
IComparer<T> Comparer { get; }
Property Value
- IComparer<T>
Count
Gets the number of items in the set.
int Count { get; }
Property Value
Methods
Add(T)
Adds an item to the set.
void Add(T item)
Parameters
item
TThe item to add.
Contains(T)
Checks if the set contains an item.
bool Contains(T item)
Parameters
item
TThe item to check for.
Returns
Remove(T)
Removes an item from the set.
bool Remove(T item)
Parameters
item
TThe item to remove.