does not return the classes in the order they were defined as opposed to
MyEnum.values()
in Java. Bit me!
i
ilya.gorbunov
06/21/2019, 3:51 PM
Given that sealed class subclasses potentially have more freedom of where they can be declared, it might be hard to guarantee a particular iteration order of them.