Class API.Match.Pattern2<T,T1,T2>
java.lang.Object
io.vavr.API.Match.Pattern2<T,T1,T2>
- All Implemented Interfaces:
API.Match.Pattern<T, Tuple2<T1,T2>>, Function1<T, Tuple2<T1, T2>>, PartialFunction<T, Tuple2<T1, T2>>, Serializable, Function<T, Tuple2<T1, T2>>
public abstract static class API.Match.Pattern2<T,T1,T2>
extends Object
implements API.Match.Pattern<T, Tuple2<T1,T2>>
- Author:
- Daniel Dietrich
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T, T1 extends U1, U1, T2 extends U2, U2>
API.Match.Pattern2<T, T1, T2> of(Class<? super T> type, API.Match.Pattern<T1, ?> p1, API.Match.Pattern<T2, ?> p2, Function<T, Tuple2<U1, U2>> unapply) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Function1
andThen, arity, compose, curried, isMemoized, memoized, partial, reversed, tupledMethods inherited from interface PartialFunction
apply, isDefinedAt, lift
-
Constructor Details
-
Pattern2
public Pattern2()
-
-
Method Details
-
of
public static <T, T1 extends U1, U1, T2 extends U2, U2> API.Match.Pattern2<T,T1, ofT2> (Class<? super T> type, API.Match.Pattern<T1, ?> p1, API.Match.Pattern<T2, ?> p2, Function<T, Tuple2<U1, U2>> unapply)
-