ImmutableSortedSet<T>.Builder.ToImmutable Metodo

Definizione

Crea un set ordinato non modificabile basato sul contenuto di questa istanza.

public:
 System::Collections::Immutable::ImmutableSortedSet<T> ^ ToImmutable();
public System.Collections.Immutable.ImmutableSortedSet<T> ToImmutable ();
member this.ToImmutable : unit -> System.Collections.Immutable.ImmutableSortedSet<'T>
Public Function ToImmutable () As ImmutableSortedSet(Of T)

Restituisce

Set non modificabile.

Commenti

Questo metodo è un'operazione O(n) e si avvicina al tempo O(1) come numero di mutazioni effettive nel set dall'ultima chiamata a questo metodo si avvicina 0.

Si applica a