ImmutableSortedSet<T>.Builder.ToImmutable 메서드

정의

이 인스턴스의 내용을 기반으로 변경할 수 없는 정렬된 집합을 만듭니다.

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)

반환

변경할 수 없는 집합입니다.

설명

이 메서드는 O(n) 연산이며 이 메서드에 대한 마지막 호출이 0에 가까워지기 때문에 집합에 대한 실제 변형 수로 O(1) 시간에 접근합니다.

적용 대상