Implements an immutable (read-only) Set wrapper.
Although this is advertised as immutable, it really isn't. Anyone with access to the basisSet can still change the data-set. So GetHashCode() is not implemented for this Set, as is the case for all Set implementations in this library. This design decision was based on the efficiency of not having to Clone() the basisSet every time you wrap a mutable Set.
Assembly: Iesi.Collections (in Iesi.Collections.dll) Version: 1.0.1.0 (3.2.0.4000)
Syntax
C# |
---|
[SerializableAttribute] public sealed class ImmutableSet<T> : Set<T> |
Visual Basic |
---|
<SerializableAttribute> _ Public NotInheritable Class ImmutableSet(Of T) _ Inherits Set(Of T) |
Visual C++ |
---|
[SerializableAttribute] generic<typename T> public ref class ImmutableSet sealed : public Set<T> |
Type Parameters
- T
[Missing <typeparam name="T"/> documentation for "T:Iesi.Collections.Generic.ImmutableSet`1"]
Inheritance Hierarchy
System..::..Object
Iesi.Collections.Generic..::..Set<(Of <(<'T>)>)>
Iesi.Collections.Generic..::..ImmutableSet<(Of <(<'T>)>)>
Iesi.Collections.Generic..::..Set<(Of <(<'T>)>)>
Iesi.Collections.Generic..::..ImmutableSet<(Of <(<'T>)>)>