Package io.vavr

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

    • Method Summary

      Modifier and Type Method Description
      R apply​(T obj)
      Applies this function to the given argument and returns the result.
      boolean isDefinedAt​(T obj)
      Tests if 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
    • Method Detail

      • 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 java.util.function.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