class DroolsJoinTriConstraintStream<Solution_, A, B, C>
        extends DroolsAbstractTriConstraintStream<Solution_, A, B, C> {

    private final Supplier<TriLeftHandSide<A, B, C>> leftHandSide;
    private final boolean guaranteesDistinct;

    public DroolsJoinTriConstraintStream(DroolsConstraintFactory<Solution_> constraintFactory,
            DroolsAbstractBiConstraintStream<Solution_, A, B> parent,
            DroolsAbstractUniConstraintStream<Solution_, C> otherStream, TriJoiner<A, B, C> joiner) {
        super(constraintFactory, parent.getRetrievalSemantics());
        this.leftHandSide = () -> parent.createLeftHandSide().andJoin(otherStream.createLeftHandSide(), joiner);
        this.guaranteesDistinct = parent.guaranteesDistinct() && otherStream.guaranteesDistinct();
    }

    @Override
    public boolean guaranteesDistinct() {
        return guaranteesDistinct;
    }

    // ************************************************************************
    // Pattern creation
    // ************************************************************************

    @Override
    public TriLeftHandSide<A, B, C> createLeftHandSide() {
        return leftHandSide.get();
    }

    // ************************************************************************
    // Getters/setters
    // ************************************************************************

    @Override
    public String toString() {<FILL_FUNCTION_BODY>}

}

        return "TriJoin() with " + getChildStreams().size() + " children";
    
<methods>public void <init>(DroolsConstraintFactory<Solution_>, org.optaplanner.constraint.streams.common.RetrievalSemantics) ,public TriConstraintStream<A,B,C> filter(TriPredicate<A,B,C>) ,public TriConstraintStream<A,B,ResultC_> flattenLast(Function<C,Iterable<ResultC_>>) ,public UniConstraintStream<Result_> groupBy(TriConstraintCollector<A,B,C,ResultContainer_,Result_>) ,public BiConstraintStream<ResultA_,ResultB_> groupBy(TriConstraintCollector<A,B,C,ResultContainerA_,ResultA_>, TriConstraintCollector<A,B,C,ResultContainerB_,ResultB_>) ,public TriConstraintStream<ResultA_,ResultB_,ResultC_> groupBy(TriConstraintCollector<A,B,C,ResultContainerA_,ResultA_>, TriConstraintCollector<A,B,C,ResultContainerB_,ResultB_>, TriConstraintCollector<A,B,C,ResultContainerC_,ResultC_>) ,public QuadConstraintStream<ResultA_,ResultB_,ResultC_,ResultD_> groupBy(TriConstraintCollector<A,B,C,ResultContainerA_,ResultA_>, TriConstraintCollector<A,B,C,ResultContainerB_,ResultB_>, TriConstraintCollector<A,B,C,ResultContainerC_,ResultC_>, TriConstraintCollector<A,B,C,ResultContainerD_,ResultD_>) ,public UniConstraintStream<GroupKey_> groupBy(TriFunction<A,B,C,GroupKey_>) ,public BiConstraintStream<GroupKey_,Result_> groupBy(TriFunction<A,B,C,GroupKey_>, TriConstraintCollector<A,B,C,ResultContainer_,Result_>) ,public TriConstraintStream<GroupKey_,ResultB_,ResultC_> groupBy(TriFunction<A,B,C,GroupKey_>, TriConstraintCollector<A,B,C,ResultContainerB_,ResultB_>, TriConstraintCollector<A,B,C,ResultContainerC_,ResultC_>) ,public QuadConstraintStream<GroupKey_,ResultB_,ResultC_,ResultD_> groupBy(TriFunction<A,B,C,GroupKey_>, TriConstraintCollector<A,B,C,ResultContainerB_,ResultB_>, TriConstraintCollector<A,B,C,ResultContainerC_,ResultC_>, TriConstraintCollector<A,B,C,ResultContainerD_,ResultD_>) ,public BiConstraintStream<GroupKeyA_,GroupKeyB_> groupBy(TriFunction<A,B,C,GroupKeyA_>, TriFunction<A,B,C,GroupKeyB_>) ,public TriConstraintStream<GroupKeyA_,GroupKeyB_,Result_> groupBy(TriFunction<A,B,C,GroupKeyA_>, TriFunction<A,B,C,GroupKeyB_>, TriConstraintCollector<A,B,C,ResultContainer_,Result_>) ,public QuadConstraintStream<GroupKeyA_,GroupKeyB_,ResultC_,ResultD_> groupBy(TriFunction<A,B,C,GroupKeyA_>, TriFunction<A,B,C,GroupKeyB_>, TriConstraintCollector<A,B,C,ResultContainerC_,ResultC_>, TriConstraintCollector<A,B,C,ResultContainerD_,ResultD_>) ,public TriConstraintStream<GroupKeyA_,GroupKeyB_,GroupKeyC_> groupBy(TriFunction<A,B,C,GroupKeyA_>, TriFunction<A,B,C,GroupKeyB_>, TriFunction<A,B,C,GroupKeyC_>) ,public QuadConstraintStream<GroupKeyA_,GroupKeyB_,GroupKeyC_,ResultD_> groupBy(TriFunction<A,B,C,GroupKeyA_>, TriFunction<A,B,C,GroupKeyB_>, TriFunction<A,B,C,GroupKeyC_>, TriConstraintCollector<A,B,C,ResultContainerD_,ResultD_>) ,public QuadConstraintStream<GroupKeyA_,GroupKeyB_,GroupKeyC_,GroupKeyD_> groupBy(TriFunction<A,B,C,GroupKeyA_>, TriFunction<A,B,C,GroupKeyB_>, TriFunction<A,B,C,GroupKeyC_>, TriFunction<A,B,C,GroupKeyD_>) ,public final transient TriConstraintStream<A,B,C> ifExists(Class<D>, QuadJoiner<A,B,C,D>[]) ,public final transient TriConstraintStream<A,B,C> ifExistsIncludingNullVars(Class<D>, QuadJoiner<A,B,C,D>[]) ,public final transient TriConstraintStream<A,B,C> ifNotExists(Class<D>, QuadJoiner<A,B,C,D>[]) ,public final transient TriConstraintStream<A,B,C> ifNotExistsIncludingNullVars(Class<D>, QuadJoiner<A,B,C,D>[]) ,public TriConstraintBuilder<A,B,C,Score_> innerImpact(Score_, ToIntTriFunction<A,B,C>, org.optaplanner.constraint.streams.common.ScoreImpactType) ,public TriConstraintBuilder<A,B,C,Score_> innerImpact(Score_, ToLongTriFunction<A,B,C>, org.optaplanner.constraint.streams.common.ScoreImpactType) ,public TriConstraintBuilder<A,B,C,Score_> innerImpact(Score_, TriFunction<A,B,C,java.math.BigDecimal>, org.optaplanner.constraint.streams.common.ScoreImpactType) ,public final transient QuadConstraintStream<A,B,C,D> join(UniConstraintStream<D>, QuadJoiner<A,B,C,D>[]) ,public UniConstraintStream<ResultA_> map(TriFunction<A,B,C,ResultA_>) <variables>