Class 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 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.