Class TriVersionFunction<A,B,C,R>

java.lang.Object
de.eldoria.eldoutilities.crossversion.function.BaseVersionFunction<TriFunction<A,B,C,R>>
de.eldoria.eldoutilities.crossversion.function.TriVersionFunction<A,B,C,R>
Type Parameters:
A - first Input Type
B - second Input Type
C - third Input Type
R - result Type

public class TriVersionFunction<A,B,C,R> extends BaseVersionFunction<TriFunction<A,B,C,R>>
A TriFunction with version sensitive context.
  • Constructor Details

  • Method Details

    • apply

      public R apply(A a, B b, C c)
      Execute the function for the current version.
      Parameters:
      a - first parameter of the function.
      b - second parameter of the function
      c - third parameter of the function
      Returns:
      value of the function
      Throws:
      UnsupportedVersionException - when no function is defined for the server version.