class BavetGroupBiConstraintStream<Solution_, A, B>
        extends BavetAbstractBiConstraintStream<Solution_, A, B> {

    private final BavetAbstractConstraintStream<Solution_> parent;

    public BavetGroupBiConstraintStream(BavetConstraintFactory<Solution_> constraintFactory,
            BavetAbstractConstraintStream<Solution_> parent) {
        super(constraintFactory, parent.getRetrievalSemantics());
        this.parent = parent;
    }

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

    // ************************************************************************
    // Node creation
    // ************************************************************************

    @Override
    public void collectActiveConstraintStreams(Set<BavetAbstractConstraintStream<Solution_>> constraintStreamSet) {
        parent.collectActiveConstraintStreams(constraintStreamSet);
        constraintStreamSet.add(this);
    }

    @Override
    public <Score_ extends Score<Score_>> void buildNode(NodeBuildHelper<Score_> buildHelper) {
        // Do nothing. BavetGroupBridgeUniConstraintStream, etc build everything.
    }

    // ************************************************************************
    // Equality for node sharing
    // ************************************************************************

    // TODO

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

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

}

        return "Group() with " + childStreamList.size() + " children";
    
<methods>public void <init>(BavetConstraintFactory<Solution_>, org.optaplanner.constraint.streams.common.RetrievalSemantics) ,public BavetAbstractBiConstraintStream<Solution_,A,B> filter(BiPredicate<A,B>) ,public BiConstraintStream<A,ResultB_> flattenLast(Function<B,Iterable<ResultB_>>) ,public List<BavetAbstractBiConstraintStream<Solution_,A,B>> getChildStreamList() ,public UniConstraintStream<Result_> groupBy(BiConstraintCollector<A,B,ResultContainer_,Result_>) ,public BiConstraintStream<ResultA_,ResultB_> groupBy(BiConstraintCollector<A,B,ResultContainerA_,ResultA_>, BiConstraintCollector<A,B,ResultContainerB_,ResultB_>) ,public TriConstraintStream<ResultA_,ResultB_,ResultC_> groupBy(BiConstraintCollector<A,B,ResultContainerA_,ResultA_>, BiConstraintCollector<A,B,ResultContainerB_,ResultB_>, BiConstraintCollector<A,B,ResultContainerC_,ResultC_>) ,public QuadConstraintStream<ResultA_,ResultB_,ResultC_,ResultD_> groupBy(BiConstraintCollector<A,B,ResultContainerA_,ResultA_>, BiConstraintCollector<A,B,ResultContainerB_,ResultB_>, BiConstraintCollector<A,B,ResultContainerC_,ResultC_>, BiConstraintCollector<A,B,ResultContainerD_,ResultD_>) ,public UniConstraintStream<GroupKey_> groupBy(BiFunction<A,B,GroupKey_>) ,public TriConstraintStream<GroupKey_,ResultB_,ResultC_> groupBy(BiFunction<A,B,GroupKey_>, BiConstraintCollector<A,B,ResultContainerB_,ResultB_>, BiConstraintCollector<A,B,ResultContainerC_,ResultC_>) ,public QuadConstraintStream<GroupKey_,ResultB_,ResultC_,ResultD_> groupBy(BiFunction<A,B,GroupKey_>, BiConstraintCollector<A,B,ResultContainerB_,ResultB_>, BiConstraintCollector<A,B,ResultContainerC_,ResultC_>, BiConstraintCollector<A,B,ResultContainerD_,ResultD_>) ,public BiConstraintStream<GroupKey_,Result_> groupBy(BiFunction<A,B,GroupKey_>, BiConstraintCollector<A,B,ResultContainer_,Result_>) ,public BiConstraintStream<GroupKeyA_,GroupKeyB_> groupBy(BiFunction<A,B,GroupKeyA_>, BiFunction<A,B,GroupKeyB_>) ,public TriConstraintStream<GroupKeyA_,GroupKeyB_,Result_> groupBy(BiFunction<A,B,GroupKeyA_>, BiFunction<A,B,GroupKeyB_>, BiConstraintCollector<A,B,ResultContainer_,Result_>) ,public QuadConstraintStream<GroupKeyA_,GroupKeyB_,ResultC_,ResultD_> groupBy(BiFunction<A,B,GroupKeyA_>, BiFunction<A,B,GroupKeyB_>, BiConstraintCollector<A,B,ResultContainerC_,ResultC_>, BiConstraintCollector<A,B,ResultContainerD_,ResultD_>) ,public TriConstraintStream<GroupKeyA_,GroupKeyB_,GroupKeyC_> groupBy(BiFunction<A,B,GroupKeyA_>, BiFunction<A,B,GroupKeyB_>, BiFunction<A,B,GroupKeyC_>) ,public QuadConstraintStream<GroupKeyA_,GroupKeyB_,GroupKeyC_,ResultD_> groupBy(BiFunction<A,B,GroupKeyA_>, BiFunction<A,B,GroupKeyB_>, BiFunction<A,B,GroupKeyC_>, BiConstraintCollector<A,B,ResultContainerD_,ResultD_>) ,public QuadConstraintStream<GroupKeyA_,GroupKeyB_,GroupKeyC_,GroupKeyD_> groupBy(BiFunction<A,B,GroupKeyA_>, BiFunction<A,B,GroupKeyB_>, BiFunction<A,B,GroupKeyC_>, BiFunction<A,B,GroupKeyD_>) ,public final transient BiConstraintStream<A,B> ifExists(Class<C>, TriJoiner<A,B,C>[]) ,public final transient BiConstraintStream<A,B> ifExists(UniConstraintStream<C>, TriJoiner<A,B,C>[]) ,public final transient BiConstraintStream<A,B> ifExistsIncludingNullVars(Class<C>, TriJoiner<A,B,C>[]) ,public final transient BiConstraintStream<A,B> ifNotExists(Class<C>, TriJoiner<A,B,C>[]) ,public final transient BiConstraintStream<A,B> ifNotExists(UniConstraintStream<C>, TriJoiner<A,B,C>[]) ,public final transient BiConstraintStream<A,B> ifNotExistsIncludingNullVars(Class<C>, TriJoiner<A,B,C>[]) ,public BiConstraintBuilder<A,B,Score_> innerImpact(Score_, ToIntBiFunction<A,B>, org.optaplanner.constraint.streams.common.ScoreImpactType) ,public BiConstraintBuilder<A,B,Score_> innerImpact(Score_, ToLongBiFunction<A,B>, org.optaplanner.constraint.streams.common.ScoreImpactType) ,public BiConstraintBuilder<A,B,Score_> innerImpact(Score_, BiFunction<A,B,java.math.BigDecimal>, org.optaplanner.constraint.streams.common.ScoreImpactType) ,public final transient TriConstraintStream<A,B,C> join(UniConstraintStream<C>, TriJoiner<A,B,C>[]) ,public UniConstraintStream<ResultA_> map(BiFunction<A,B,ResultA_>) ,public Stream_ shareAndAddChild(Stream_) <variables>protected final List<BavetAbstractBiConstraintStream<Solution_,A,B>> childStreamList