Class AcceptingComposer<C extends Candidate,​I extends AdvancedComposition<C>,​R extends Result>

    • Constructor Detail

      • AcceptingComposer

        public AcceptingComposer​(I composition,
                                 java.util.function.Function<? super I,​R> assembleResult)
    • Method Detail

      • initSelf

        protected void initSelf()
        Description copied from class: AbstractBaseClass
        Hook for subclasses to initialize themselves after the initial constructor call. At the time this is called, all fulfillable local & global component system requests will be fulfilled. Unless advanced interaction with the underlying systems is required, this is the only relevant hook for user-defined subclasses.
        Specified by:
        initSelf in class AbstractBaseClass
      • candidatesAreExhausted

        public void candidatesAreExhausted()
        Description copied from interface: Composer
        Hook method which is called when this composer will not receive any more candidates in the future as the connected proposer has been exhausted.