Hello! Looks like this was overlooked. On the other hand, it could even implement SortedSet or Navigable set, as it's essentially not just ordered but sorted, according to the enum natural order. Same for EnumMap.
With best regards, Tagir Valeev On Tue, May 23, 2023, 11:46 Andrey Turbanov <turban...@gmail.com> wrote: > Hello. > I've noticed that EnumSet unfortunately doesn't implement the newly > introduced interface SequencedSet. > From the first look it fits into it. > Is there a reason for that? Sorry if it was already discussed. > > Andrey Turbanov >