Type Parameters:
T - the type of persistent data stored in the flavors
All Superinterfaces:
PersistentFlavor<T>
All Known Implementing Classes:
DefaultFlavorContainer

public sealed interface FlavorContainer<T extends PersistentData> extends PersistentFlavor<T> permits DefaultFlavorContainer<T>
A sealed interface representing a container of flavors.
  • Method Details

    • childFlavors

      Collection<PersistentFlavor<? extends T>> childFlavors()
      Returns a collection of child flavors contained in this container.
      Returns:
      a collection of child flavors