@SuppressWarnings({"unchecked"})
public static <E> SortedSet<E> emptySortedSet ()

Returns an empty sorted set (immutable). This set is serializable.

This example illustrates the type-safe way to obtain an empty sorted set:

 
     SortedSet<String> s = Collections.emptySortedSet();
 

Parameters:
<E>    type of elements, if there were any, in the set

Returns:  the empty sorted set

Since:  1.8

@implNote Implementations of this method need not create a separate SortedSet object for each call.