Package io.vavr
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>>
,java.io.Serializable
,java.util.function.Function<T,Tuple2<T1,T2>>
public abstract static class API.Match.Pattern2<T,T1,T2> extends java.lang.Object implements API.Match.Pattern<T,Tuple2<T1,T2>>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Pattern2()
-
Method Summary
Modifier and Type Method Description static <T,T1 extends U1,U1,T2 extends U2,U2>
API.Match.Pattern2<T,T1,T2>of(java.lang.Class<? super T> type, API.Match.Pattern<T1,?> p1, API.Match.Pattern<T2,?> p2, java.util.function.Function<T,Tuple2<U1,U2>> unapply)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.vavr.Function1
andThen, arity, compose, curried, isMemoized, memoized, partial, reversed, tupled
-
Methods inherited from interface io.vavr.PartialFunction
apply, isDefinedAt, lift
-
-
-
-
Method Detail
-
of
public static <T,T1 extends U1,U1,T2 extends U2,U2> API.Match.Pattern2<T,T1,T2> of(java.lang.Class<? super T> type, API.Match.Pattern<T1,?> p1, API.Match.Pattern<T2,?> p2, java.util.function.Function<T,Tuple2<U1,U2>> unapply)
-
-