SortedSet<T>.SymmetricExceptWith(IEnumerable<T>) 메서드

정의

현재 개체나 지정된 컬렉션에 있고 둘 다에는 없는 요소만 포함되도록 현재 SortedSet<T> 개체를 수정합니다.

public:
 virtual void SymmetricExceptWith(System::Collections::Generic::IEnumerable<T> ^ other);
public void SymmetricExceptWith (System.Collections.Generic.IEnumerable<T> other);
abstract member SymmetricExceptWith : seq<'T> -> unit
override this.SymmetricExceptWith : seq<'T> -> unit
Public Sub SymmetricExceptWith (other As IEnumerable(Of T))

매개 변수

other
IEnumerable<T>

현재 SortedSet<T> 개체와 비교할 컬렉션입니다.

구현

예외

other이(가) null인 경우

설명

other 모든 중복 요소는 무시됩니다.

매개 변수가 otherSortedSet<T> 현재 SortedSet<T> 개체와 동일한 같음 비교자를 가진 컬렉션인 경우 이 메서드는 작업입니다 O(n log m) . 그렇지 않으면 이 메서드는 연산 O(n log m) + O(n log n) 입니다. 여기서 n 는 의 요소 other 수이고 m 는 입니다 Count.

적용 대상