Interface Composite<T,​F extends Finder<? extends T>>

  • All Known Subinterfaces:
    SimpleComposite<T>
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface Composite<T,​F extends Finder<? extends T>>
    The role of a composite object, that is an object which contains children. They are exposed by means of a Finder.
    Author:
    Fabrizio Giudici
    Status: stable API
    Stereotype:
    Role
    • Field Detail

      • _Composite_

        static final java.lang.Class<Composite> _Composite_
      • DEFAULT

        static final Composite<java.lang.Object,​Finder<java.lang.Object>> DEFAULT
        A default Composite with no children.
    • Method Detail

      • findChildren

        @Nonnull
        F findChildren()
        Returns the children of this object.
        Returns:
        the children