First time I coded a #sealedInterface in #Java. A method could return 3 different results, each with its own supplementary information. A sealed interface and three implementing record types seemed right.
2
1
0
0
First time I coded a #sealedInterface in #Java. A method could return 3 different results, each with its own supplementary information. A sealed interface and three implementing record types seemed right.