Class DecoratedSet<T>
Denotes an extensible implementation of a hashset
Inheritance
DecoratedSet<T>
Assembly: NMF.Collections.dll
Syntax
public class DecoratedSet<T> : ISet<T>, ICollection<T>, IEnumerable<T>, IList, ICollection, IEnumerable
Type Parameters
Constructors
|
Edit this page
View Source
DecoratedSet()
Declaration
Properties
|
Edit this page
View Source
Count
Declaration
public int Count { get; }
Property Value
|
Edit this page
View Source
Items
The actual hashset in which items are stored
Declaration
protected HashSet<T> Items { get; }
Property Value
Methods
|
Edit this page
View Source
Add(T)
Declaration
public virtual bool Add(T item)
Parameters
Type |
Name |
Description |
T |
item |
|
Returns
|
Edit this page
View Source
Clear()
Declaration
public virtual void Clear()
|
Edit this page
View Source
Contains(T)
Declaration
public bool Contains(T item)
Parameters
Type |
Name |
Description |
T |
item |
|
Returns
|
Edit this page
View Source
CopyTo(T[], int)
Declaration
public void CopyTo(T[] array, int arrayIndex)
Parameters
Type |
Name |
Description |
T[] |
array |
|
int |
arrayIndex |
|
|
Edit this page
View Source
ExceptWith(IEnumerable<T>)
Declaration
public void ExceptWith(IEnumerable<T> other)
Parameters
|
Edit this page
View Source
GetEnumerator()
Declaration
public virtual IEnumerator<T> GetEnumerator()
Returns
|
Edit this page
View Source
IntersectWith(IEnumerable<T>)
Declaration
public void IntersectWith(IEnumerable<T> other)
Parameters
|
Edit this page
View Source
IsProperSubsetOf(IEnumerable<T>)
Declaration
public bool IsProperSubsetOf(IEnumerable<T> other)
Parameters
Returns
|
Edit this page
View Source
IsProperSupersetOf(IEnumerable<T>)
Declaration
public bool IsProperSupersetOf(IEnumerable<T> other)
Parameters
Returns
|
Edit this page
View Source
IsSubsetOf(IEnumerable<T>)
Declaration
public bool IsSubsetOf(IEnumerable<T> other)
Parameters
Returns
|
Edit this page
View Source
IsSupersetOf(IEnumerable<T>)
Declaration
public bool IsSupersetOf(IEnumerable<T> other)
Parameters
Returns
|
Edit this page
View Source
Overlaps(IEnumerable<T>)
Declaration
public bool Overlaps(IEnumerable<T> other)
Parameters
Returns
|
Edit this page
View Source
Remove(T)
Declaration
public virtual bool Remove(T item)
Parameters
Type |
Name |
Description |
T |
item |
|
Returns
|
Edit this page
View Source
SetEquals(IEnumerable<T>)
Declaration
public bool SetEquals(IEnumerable<T> other)
Parameters
Returns
|
Edit this page
View Source
SymmetricExceptWith(IEnumerable<T>)
Declaration
public void SymmetricExceptWith(IEnumerable<T> other)
Parameters
|
Edit this page
View Source
UnionWith(IEnumerable<T>)
Declaration
public void UnionWith(IEnumerable<T> other)
Parameters
Implements