code: public static <T> SortedSet<T> init(SortedSet<T> self) {
          return (SortedSet<T>) init((Iterable<T>) self);
      }
docs: Returns the items from the SortedSet excluding the last item. Leaves the original SortedSet unchanged.
  <pre class="groovyTestCase">
  def sortedSet = [3, 4, 2] as SortedSet
  assert sortedSet.init() == [2, 3] as SortedSet
  assert sortedSet == [3, 4, 2] as SortedSet
  </pre>
  
  @param self a SortedSet
  @return a SortedSet without its last element
  @throws NoSuchElementException if the SortedSet is empty and you try to access init()
  @since 2.4.0