code: public static <T> SortedSet<T> each(SortedSet<T> self, @ClosureParams(FirstParam.FirstGenericType.class) Closure closure) {
          return (SortedSet<T>) each((Iterable<T>) self, closure);
      }
docs: Iterates through a SortedSet, passing each item to the given closure.
  
  @param self    the SortedSet over which we iterate
  @param closure the closure applied on each element found
  @return the self SortedSet
  @since 2.4.0