Class DefaultBiJoiner<A,​B>

  • All Implemented Interfaces:
    org.optaplanner.core.api.score.stream.bi.BiJoiner<A,​B>

    public final class DefaultBiJoiner<A,​B>
    extends AbstractJoiner<B>
    implements org.optaplanner.core.api.score.stream.bi.BiJoiner<A,​B>
    • Field Detail

      • NONE

        public static final org.optaplanner.core.api.score.stream.bi.BiJoiner NONE
    • Constructor Detail

      • DefaultBiJoiner

        public DefaultBiJoiner​(Function<A,​Property_> leftMapping,
                               org.optaplanner.core.impl.score.stream.JoinerType joinerType,
                               Function<B,​Property_> rightMapping)
    • Method Detail

      • and

        public DefaultBiJoiner<A,​B> and​(org.optaplanner.core.api.score.stream.bi.BiJoiner<A,​B> otherJoiner)
        Specified by:
        and in interface org.optaplanner.core.api.score.stream.bi.BiJoiner<A,​B>
      • getLeftMapping

        public Function<A,​Object> getLeftMapping​(int index)
      • matches

        public boolean matches​(A a,
                               B b)