difference method

SortedSet<T> difference(
  1. SortedSet<T> other
)

Returns a new SortedSet with the elements of this that are not in other.

Implementation

SortedSet<T> difference(SortedSet<T> other) {
  return SortedSet<T>.from(_container.difference(other._container), _compare);
}