Class API.Match.Pattern1<T,T1>
java.lang.Object
io.vavr.API.Match.Pattern1<T,T1>
- All Implemented Interfaces:
API.Match.Pattern<T,T1>, Function1<T, T1>, PartialFunction<T, T1>, Serializable, Function<T, T1>
public abstract static class API.Match.Pattern1<T,T1>
extends Object
implements API.Match.Pattern<T,T1>
- Author:
- Daniel Dietrich
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T, T1 extends U1, U1>
API.Match.Pattern1<T, T1> of(Class<? super T> type, API.Match.Pattern<T1, ?> p1, Function<T, Tuple1<U1>> 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
-
Pattern1
public Pattern1()
-
-
Method Details
-
of
public static <T, T1 extends U1, U1> API.Match.Pattern1<T,T1> of(Class<? super T> type, API.Match.Pattern<T1, ?> p1, Function<T, Tuple1<U1>> unapply)
-