public static <T extends Deconstruct5<T1, T2, T3, T4, T5>, T1, T2, T3, T4, T5> PatternMatching<Tuple5<T1, T2, T3, T4, T5>> Match(T value) { return new PatternMatching<>(value.unapply()); }
default <R> R fold(Function5<? super T1, ? super T2, ? super T3, ? super T4, ? super T5, ? extends R> match){ Tuple5<T1,T2,T3,T4,T5> t = unapply(); return match.apply(t._1(),t._2(),t._3(),t._4(),t._5()); } }
public static <T extends Deconstruct5<T1, T2, T3, T4, T5>, T1, T2, T3, T4, T5> PatternMatching<Tuple5<T1, T2, T3, T4, T5>> Match(T value) { return new PatternMatching<>(value.unapply()); }
default <R> R fold(Function5<? super T1, ? super T2, ? super T3, ? super T4, ? super T5, ? extends R> match){ Tuple5<T1,T2,T3,T4,T5> t = unapply(); return match.apply(t._1(),t._2(),t._3(),t._4(),t._5()); } }