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

## Class DroolsGroupByAccumulator.Pair<K,V>

- java.lang.Object
- - org.optaplanner.core.impl.score.stream.drools.uni.DroolsGroupByAccumulator.Pair<K,V>

- Enclosing class:
    DroolsGroupByAccumulator<A,B,ResultContainer,NewB>

      public static final class DroolsGroupByAccumulator.Pair<K,V>
      extends Object

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `K` | `key`
    `V` | `value`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `Pair(K key, V value)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `equals(Object o)`
    `int` | `hashCode()`
    `String` | `toString()`

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

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### Field Detail

    - #### key

          public final K key

    - #### value

          public final V value

  - ### Constructor Detail

    - #### Pair

          public Pair(K key,
                      V value)

  - ### Method Detail

    - #### equals

          public boolean equals(Object o)

      Overrides:
        `equals` in class `Object`

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `Object`

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

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