Interface AttributeRegistry.Selector

  • Enclosing class:
    AttributeRegistry
    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 static interface AttributeRegistry.Selector
    Expands a subject into a stream of sub-subjects (honoring the step's index/wildcard).
    • Method Detail

      • expand

        Stream<Subject> expand​(Subject subject,
                               Step step)
        Expands a subject into the sub-subjects this keyword selects.
        Parameters:
        subject - the subject to expand
        step - the accessor step, carrying any index or wildcard to honor
        Returns:
        the selected sub-subjects