Package io.vavr

Class API.Match.Case6<T,T1,T2,T3,T4,T5,T6,R>

java.lang.Object
io.vavr.API.Match.Case6<T,T1,T2,T3,T4,T5,T6,R>
All Implemented Interfaces:
API.Match.Case<T,R>, Function1<T,R>, PartialFunction<T,R>, Serializable, Function<T,R>
Enclosing class:
API.Match<T>

public static final class API.Match.Case6<T,T1,T2,T3,T4,T5,T6,R> extends Object implements API.Match.Case<T,R>
See Also:
  • Method Details

    • apply

      public R apply(T obj)
      Description copied from interface: PartialFunction
      Applies this function to the given argument and returns the result.
      Specified by:
      apply in interface Function<T,T1>
      Specified by:
      apply in interface Function1<T,T1>
      Specified by:
      apply in interface PartialFunction<T,T1>
      Parameters:
      obj - the argument
      Returns:
      the result of function application
    • isDefinedAt

      public boolean isDefinedAt(T obj)
      Description copied from interface: PartialFunction
      Tests if a value is contained in the function's domain.
      Specified by:
      isDefinedAt in interface PartialFunction<T,T1>
      Parameters:
      obj - a potential function argument
      Returns:
      true, if the given value is contained in the function's domain, false otherwise