org.optaplanner.core.impl.score.stream.drools.uni

## Class DroolsGroupByAccumulator<A,B,ResultContainer,NewB>

- java.lang.Object
- - org.optaplanner.core.impl.score.stream.drools.uni.DroolsGroupByAccumulator<A,B,ResultContainer,NewB>

- All Implemented Interfaces:
    Serializable

      public final class DroolsGroupByAccumulator<A,B,ResultContainer,NewB>
      extends Object
      implements Serializable

  See Also:
    Serialized Form

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `DroolsGroupByAccumulator.Pair<K,V>`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `DroolsGroupByAccumulator(UniConstraintCollector<B,ResultContainer,NewB> collector)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Runnable` | `accumulate(A key, B value)`
    `Set<DroolsGroupByAccumulator.Pair<A,NewB>>` | `finish()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### DroolsGroupByAccumulator

          public DroolsGroupByAccumulator(UniConstraintCollector<B,ResultContainer,NewB> collector)

  - ### Method Detail

    - #### accumulate

          public Runnable accumulate(A key,
                                     B value)

    - #### finish

          public Set<DroolsGroupByAccumulator.Pair<A,NewB>> finish()

Copyright © 2006–2019 JBoss by Red Hat. All rights reserved.