static DocumentSet emptySet ( final Comparator < QueryDocumentSnapshot > comparator ) { return new DocumentSet ( EMPTY_DOCUMENT_MAP , new ImmutableSortedSet <> ( Collections . < QueryDocumentSnapshot > emptyList ( ) , comparator ) ) ; }
Returns an empty DocumentSet sorted by the given comparator then by keys .