Glossary: Software Design Patterns in Java
Sealed interface
Also written: sealed, permits
A Java interface that lists exactly which types may implement it with `permits`. `Priced` permits only `Single` and `Bundle`.
Glossary: Software Design Patterns in Java
Also written: sealed, permits
A Java interface that lists exactly which types may implement it with `permits`. `Priced` permits only `Single` and `Bundle`.