Interface ValueJoiner<V1,V2,R>

Type Parameters:
V1 - the type of the first value
V2 - the type of the second value
R - the result type
All Superinterfaces:
Operation, Serializable
All Known Implementing Classes:
PairValueJoiner

public interface ValueJoiner<V1,V2,R> extends Operation
An interface for joining two values to produce a result.
  • Method Summary

    Modifier and Type
    Method
    Description
    apply(V1 value1, V2 value2)
    Joins two values and produces a result.
  • Method Details

    • apply

      R apply(V1 value1, V2 value2)
      Joins two values and produces a result.
      Parameters:
      value1 - the first value
      value2 - the second value
      Returns:
      the result