Class PairValueJoiner<V1,​V2>

    • Constructor Detail

      • PairValueJoiner

        public PairValueJoiner()
    • Method Detail

      • apply

        public Pair<V1,​V2> apply​(V1 value1,
                                       V2 value2)
        Joins two values and produces a Pair of the values as the result.
        Specified by:
        apply in interface ValueJoiner<V1,​V2,​Pair<V1,​V2>>
        Parameters:
        value1 - the first value
        value2 - the second value
        Returns:
        a pair of the first and second value