Skip to content

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`.

Where the book teaches it

Related terms

CompositeInterface