static <E> ImmutableSortedSet<E> unsafeDelegateSortedSet(
      SortedSet<E> delegate, boolean isSubset) {
    return delegate.isEmpty()
        ? emptySet(delegate.comparator())
        : new RegularImmutableSortedSet<E>(delegate, isSubset);
  }
static <E> ImmutableSortedSet<E> unsafeDelegateSortedSet(
      SortedSet<E> delegate, boolean isSubset) {
    return delegate.isEmpty()
        ? emptySet(delegate.comparator())
        : new RegularImmutableSortedSet<E>(delegate, isSubset);
  }
static < E > ImmutableSortedSet < E > unsafeDelegateSortedSet ( SortedSet < E > delegate , boolean isSubset ) { return delegate . isEmpty ( ) ? emptySet ( delegate . comparator ( ) ) : new RegularImmutableSortedSet < E > ( delegate , isSubset ) ; }
Assumes that delegate doesn't have null elements and comparator.
Assumes that delegate doesn t have null elements and comparator .