Package com.tibco.patterns.grouping

## Class GroupedPair

- java.lang.Object
- - com.tibco.patterns.grouping.GroupedPair

-     public final class GroupedPair
      extends java.lang.Object

  Wraps an input pair with relevant grouping information.
  Used only during group output.
  See Also:
    `IGroupOutput`

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `GroupedPair​(InputPair original_pair, int subgroup1, int subgroup2)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `InputPair` | `getOriginalPair()` |
    `java.lang.String` | `toString()` |

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

      `equals, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### GroupedPair

          public GroupedPair​(InputPair original_pair,
                             int subgroup1,
                             int subgroup2)

  - ### Method Detail

    - #### toString

          public java.lang.String toString()

      Overrides:
        `toString` in class `java.lang.Object`
      Returns:
        a string representation with all fields of GroupedPair.

    - #### getOriginalPair

          public InputPair getOriginalPair()

      Returns:
        the InputPair wrapped by this object.