public static < T1 , T2 , T3 , T4 > TypeFactory < Tuple4 < T1 , T2 , T3 , T4 > > typeFactory ( TypeFactory < T1 > type1 , TypeFactory < T2 > type2 , TypeFactory < T3 > type3 , TypeFactory < T4 > type4 ) { return new Tuple4TypeFactory <> ( type1 , type2 , type3 , type4 ) ; }
Create a type factory for tuples of size 4 .