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