I could look further, but just looking at this code sample, Antonio could be correct - While you can simulate a sealed class in Java, it doesn't look like it's caked into the language.
adam-mcneilly
11/29/2017, 3:10 PM
@antonioleiva is in this slack, perhaps he can answer.
a
antonioleiva
11/29/2017, 3:12 PM
yeah, Java doesnât have the concept of âsealed classâ meaning that the compiler canât detect for you that youâre missing a check in a âswitchâ for example
đ 1
antonioleiva
11/29/2017, 3:13 PM
at least from what I know from Java (the Java that can be used in Android)