|
Joutsen v0.5.0+12-g5dd5f7e
|
A set of unique items that are stored using hashes. More...
Public Member Functions | |
| HashSet () | |
| Creates a new empty set. More... | |
| HashSet (SCG.IEnumerable< ItemType > enumerable) | |
| Creates a new set that initially contains predefined items. More... | |
| HashSet (ItemType[] array) | |
| Creates a new set that initially contains predefined items. More... | |
| HashSet (SCG.IEqualityComparer< ItemType > comparer) | |
| Creates a new set using a custom comparer to calculate hash codes. More... | |
| HashSet (SCG.IEnumerable< ItemType > enumerable, SCG.IEqualityComparer< ItemType > comparer) | |
| Creates a new set that initially contains predefined items using a custom comparer to calculate hashes. More... | |
| HashSet (ItemType[] array, SCG.EqualityComparer< ItemType > comparer) | |
| Creates a new set that initially contains predefined items using a custom comparer to calculate hashes. More... | |
| void | Add (SCG.IEnumerable< ItemType > items) |
| Adds multiple items to the collection. More... | |
| override String | ToString () |
| bool | Contains (ItemType item, SCG.IEqualityComparer< ItemType > comparer) |
| Checks if an item is part of the collection. More... | |
| void | Add (SCG.IEnumerable< ItemType > items) |
| Adds multiple items to the collection. More... | |
A set of unique items that are stored using hashes.
| Joutsen.Collections.Generic.HashSet< ItemType >.HashSet | ( | ) |
Creates a new empty set.
| Joutsen.Collections.Generic.HashSet< ItemType >.HashSet | ( | SCG.IEnumerable< ItemType > | enumerable | ) |
Creates a new set that initially contains predefined items.
| enumerable | the predefined items |
| Joutsen.Collections.Generic.HashSet< ItemType >.HashSet | ( | ItemType[] | array | ) |
Creates a new set that initially contains predefined items.
| array | the predefined items |
| Joutsen.Collections.Generic.HashSet< ItemType >.HashSet | ( | SCG.IEqualityComparer< ItemType > | comparer | ) |
Creates a new set using a custom comparer to calculate hash codes.
| comparer | the custom comparer to calculate hashes |
| Joutsen.Collections.Generic.HashSet< ItemType >.HashSet | ( | SCG.IEnumerable< ItemType > | enumerable, |
| SCG.IEqualityComparer< ItemType > | comparer | ||
| ) |
Creates a new set that initially contains predefined items using a custom comparer to calculate hashes.
| enumerable | the predefined items |
| comparer | the custom comparer to calculate hashes |
| Joutsen.Collections.Generic.HashSet< ItemType >.HashSet | ( | ItemType[] | array, |
| SCG.EqualityComparer< ItemType > | comparer | ||
| ) |
Creates a new set that initially contains predefined items using a custom comparer to calculate hashes.
| array | the predefined items |
| comparer | the custom comparer to calculate hashes |
| void Joutsen.Collections.Generic.HashSet< ItemType >.Add | ( | SCG.IEnumerable< ItemType > | items | ) |
Adds multiple items to the collection.
| items | the items to add |
Implements Joutsen.Collections.Generic.Collection< ItemType >.
| override String Joutsen.Collections.Generic.HashSet< ItemType >.ToString | ( | ) |