Class API.Match.Case4<T,T1,T2,T3,T4,R>
java.lang.Object
io.vavr.API.Match.Case4<T,T1,T2,T3,T4,R>
- All Implemented Interfaces:
API.Match.Case<T,R>, Function1<T, R>, PartialFunction<T, R>, Serializable, Function<T, R>
public static final class API.Match.Case4<T,T1,T2,T3,T4,R>
extends Object
implements API.Match.Case<T,R>
- Author:
- Daniel Dietrich
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionApplies this function to the given argument and returns the result.booleanisDefinedAt(T obj) Tests if a value is contained in the function's domain.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
lift
-
Method Details
-
apply
Description copied from interface:PartialFunctionApplies this function to the given argument and returns the result. -
isDefinedAt
Description copied from interface:PartialFunctionTests if a value is contained in the function's domain.- Specified by:
isDefinedAtin interfacePartialFunction<T,T1> - Parameters:
obj- a potential function argument- Returns:
- true, if the given value is contained in the function's domain, false otherwise
-