Class QuadVersionFunction<A,B,C,D,R>

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

public class QuadVersionFunction<A,B,C,D,R> extends BaseVersionFunction<QuadFunction<A,B,C,D,R>>
A QuadFunction with version sensitive context.
  • Constructor Details

  • Method Details

    • apply

      public R apply(A a, B b, C c, D d)
      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
      d - fourth parameter of the function
      Returns:
      value of the function
      Throws:
      UnsupportedVersionException - when no function is defined for the server version.