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

## Class BiTuple<A,B>

- java.lang.Object
- - org.optaplanner.core.impl.score.stream.drools.common.BiTuple<A,B>

- All Implemented Interfaces:
    FactTuple

      public final class BiTuple<A,B>
      extends Object
      implements FactTuple

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `A` | `a`
    `B` | `b`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `BiTuple(A a, B b)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `List<Object>` | `asList()`
    `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

    - #### a

          public final A a

    - #### b

          public final B b

  - ### Constructor Detail

    - #### BiTuple

          public BiTuple(A a,
                         B b)

  - ### Method Detail

    - #### asList

          public List<Object> asList()

      Specified by:
        `asList` in interface `FactTuple`

    - #### 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–2021 JBoss by Red Hat. All rights reserved.