Package io.vavr
Class API.Match.Case5<T,T1,T2,T3,T4,T5,R>
- java.lang.Object
-
- io.vavr.API.Match.Case5<T,T1,T2,T3,T4,T5,R>
-
- Type Parameters:
T- Type of the value being matchedT1- Intermediate type 1T2- Intermediate type 2T3- Intermediate type 3T4- Intermediate type 4T5- Intermediate type 5R- Return value type
- All Implemented Interfaces:
API.Match.Case<T,R>,Function1<T,R>,PartialFunction<T,R>,java.io.Serializable,java.util.function.Function<T,R>
public static final class API.Match.Case5<T,T1,T2,T3,T4,T5,R> extends java.lang.Object implements API.Match.Case<T,R>
API.Match.Caseimplementation for a case with 5 intermediate types- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Rapply(T obj)Applies this function to the given argument and returns the result.booleanisDefinedAt(T obj)Tests whether a value is contained in the function's domain.-
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, compose1, curried, isMemoized, memoized, partial, reversed, tupled
-
Methods inherited from interface io.vavr.PartialFunction
lift
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
The serial version UID for serialization.- See Also:
- Constant Field Values
-
-
Method Detail
-
apply
public R apply(T obj)
Description copied from interface:PartialFunctionApplies this function to the given argument and returns the result.
-
isDefinedAt
public boolean isDefinedAt(T obj)
Description copied from interface:PartialFunctionTests whether a value is contained in the function's domain.- Specified by:
isDefinedAtin interfacePartialFunction<T,T1>- Parameters:
obj- a potential input to the function- Returns:
trueif the given value is contained in the function's domain,falseotherwise
-
-